%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/ps-print.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@397 ps-print.el, v 7.3.5 <2009/12/23 vinicius> Vinicius's last change version -- this file may have been edited as part of Emacs without changes to the version number. When reporting bugs, please also report the version of Emacs, if any, that ps-print was distributed with. Please send all bug fixes and enhancements to bug-gnu-emacs@gnu.org and Vinicius Jose Latorre <viniciusjl.gnu@gmail.com>. (defconst ps-print-version "7.3.5" (#$ . 409)) (byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313\314\315& \210\304\316\306\317\320\321\322\323\312\313\314\324\314\305& \210\304\325\306\326\322\323\310\327\312\313\314\316&\210\304\330\306\331\322\323\310\332\312\313\314\316&\210\304\333\306\334\322\323\310\335\312\313\314\316&\210\304\336\306\337\322\323\310\340\312\313\314\316&\210\304\341\306\342\322\323\310\343\312\313\314\316&\210\304\344\306\345\322\323\310\346\312\313\314\316\314\347& \210\304\350\306\351\322\323\310\352\312\313\314\316&\210\304\353\306\354\322\323\310\355\312\313\314\316&\210\304\356\306\357\322\323\310\360\312\313\314\316&\210\304\361\362\363\322\323\310\364\312\313\314\316&\210\304\365\306\366\322\323\310\367\312\313\314\316&\210\304\370\306\371\322\323\310\372\312\313\314\316&\210\373\374\375\376\377DD\201@ \201A \201B \312\313\314\370& \210\373\201C \375\376\201D DD\201E \201A \201F \312\313\314\370& \210\373\201G \375\376\201H DD\201I \201A \201J \312\313\314\370& \210\373\201K \375\376\201L DD\201M \201A \201N \312\313\314\361& \210\373\201O \375\376\201P DD\201Q \201A \201R \312\201S \314\361& \210\373\201T \375\376\201U DD\201V \201A \201W \312\313\314\361& \210\373\201X \375\376\201Y DD\201Z \201A \201[ \312\313\314\361& \210\373\201\\ \375\376\201] DD\201^ \201A \376\312\313\314\361& \210\373\201_ \375\376\201` DD\201a \201A \201b \312\313\314\361& \210\373\201c \375\376\201d DD\201e \312\201S \201A \201b \312\313\314\361&\210\373\201f \375\376\201g DD\201h \201A \201i \312\313\314\365& \210\373\201j \375\376\201k DD\201l \201A \201m \312\313\314\365& \210\373\201n \375\376\201o DD\201p \201A \201b \312\313\314\365& \210\373\201q \375\376\201r DD\201s \201A \201b \312\313\314\365& \210\373\201t \375\376\201u DD\201v \201A \201b \312\201S \314\365& \210\373\201w \375\376\201x DD\201y \201A \201z \312\313\314\365& \210\373\201{ \375\376\201| DD\201} \201A \201~ \312\313\314\365& \210\373\201 \375\376\201\200 DD\201\201 \201A \201\202 \312\313\314\370& \210\373\201\203 \375\376\201\204 DD\201\205 \201A \201\206 \312\313\314\350& \210\373\201\207 \375\376\201\210 DD\201\211 \201A \201\212 \312\313\314\350& \210\373\201\213 \375\376\201\214 DD\201\215 \201A \201b \312\313\314\350& \210\373\201\216 \375\376\201\217 DD\201\220 \201A \201\221 \312\313\314\350& \210\373\201\222 \375\376\201\223 DD\201\224 \201A \201\212 \312\313\314\370& \210\373\201\225 \375\376\201\226 DD\201\227 \201A \201b \312\313\314\353& \210\373\201\230 \375\376\201\231 DD\201\232 \201A \201\212 \312\313\314\353& \210\373\201\233 \375\376\201\234 DD\201\235 \201A \201\236 \312\313\314\353& \210\373\201\237 \375\376\201\240 DD\201\241 \201A \201\242 \312\313\314\353& \210\373\201\243 \375\376\201\244 DD\201\245 \201A \201b \312\313\314\370& \210\373\201\246 \375\376\201\247 DD\201\250 \201A \201\251 \312\313\314\370& \210\373\201\252 \375\376\201\253 DD\201\254 \201A \201\255 \312\313\314\370& \210\373\201\256 \375\376\201\257 DD\201\260 \201A \201\261 \312\313\314\356& \210\373\201\262 \375\376\201\263 DD\201\264 \201A \201\265 \312\313\314\356& \210\373\201\266 \375\376\201\267 DD\201\270 \201A \201\212 \312\313\314\325& \210\373\201\271 \375\376\201\272 DD\201\273 \201A \201\212 \312\313\314\325& \210\373\201\274 \375\376\201\275 DD\201\276 \201A \201\212 \312\313\314\325& \210\373\201\277 \375\376\201\300 DD\201\301 \201A \201\212 \312\313\314\330& \210\373\201\302 \375\376\201\303 DD\201\304 \201A \201\212 \312\313\314\330& \210\373\201\305 \375\376\201\306 DD\201\307 \201A \201\212 \312\313\314\330& \210\373\201\310 \375\376\201\311 DD\201\312 \201A \201\212 \312\313\314\330& \210\373\201\313 \375\376\201\314 DD\201\315 \201A \201\212 \312\313\314\330& \210\373\201\316 \375\376\201\317 DD\201\320 \201A \201\212 \312\313\314\330& \210\373\201\321 \375\376\201\322 DD\201\323 \201A \201b \312\313\314\333& \210\373\201\324 \375\376\201\325 DD\201\326 \201A \201b \312\313\314\333& \210\373\201\327 \375\376\201\330 DD\201\331 \312\201S \201A \201\332 \312\313\314\333&\210\373\201\333 \375\376\201\334 DD\201\335 \201A \201\336 \312\313\314\333& \210\373\201\337 \375\376\201\340 DD\201\341 \201A \201b \312\201S \314\333& \210\373\201\342 \375\376\201\343 DD\201\344 \201A \201b \312\201S \314\333& \210\373\201\345 \375\376\201\346 DD\201\347 \201A \201\350 \312\201S \314\333& \210\373\201\351 \375\376\201\352 DD\201\353 \201A \201\336 \312\201S \314\333& \210\373\201\354 \375\376\201\355 DD\201\356 \201A \201b \312\313\314\333& \210\373\201\357 \375\376\201\360 DD\201\361 \201A \201\362 \312\313\314\333& \210\373\201\363 \375\376\201\364 DD\201\365 \201A \201b \312\313\314\333& \210\373\201\366 \375\376\201\367 DD\201\370 \201A \201\371 \312\313\314\333& \210\373\201\372 \375\376\201\373 DD\201\374 \201A \201b \312\313\314\333& \210\373\201\375 \375\376\201\376 DD\201\377 \201A \201b \312\313\314\333& \210\373\201 \375\376\201DD\201\201A \201\312\313\314\336& \210\373\201\375\376\201DD\201\201A \201\312\313\314\336& \210\373\201\375\376\201 DD\201\n\201A \201\312\313\314\336& \210\373\201\f\375\376\201 DD\201\201A \201\312\313\314\336& \210\373\201\375\376\201DD\201\201A \201\312\313\314\336& \210\373\201\375\376\201DD\201\201A \201\312\313\314\336& \210\373\201\375\376\201DD\201\201A \201\312\201S \314\336& \210\373\201\375\376\201DD\201\201A \201\312\201S \314\336& \210\373\201\375\376\201DD\201 \201A \201!\312\201S \314\336\314\370&\210\373\201\"\375\376\201#DD\201$\201A \201W \312\313\314\336\314\370&\210\373\201%\375\376\201&DD\201'\201A \201(\312\313\314\336\314\370&\210\373\201)\375\376\201*DD\201+\201A \201,\312\313\314\341& \210\373\201-\375\376\201.DD\201/\201A \2010\312\313\314\341& \210\373\2011\375\376\2012DD\2013\201A \2014\312\313\314\341& \210\373\2015\375\376\2016DD\2017\201A \2018\312\2019\314\341& \210\373\201:\375\376\201;DD\201<\201A \201b \312\2019\314\341& \210\373\201=\375\376\201>DD\201?\201A \201b \312\313\314\336& \210\373\201@\375\376\201ADD\201B\312\201S \201A \201C\312\313\314\344&\210\373\201D\375\376\201EDD\201F\201A \201G\312\313\314\344& \210\373\201H\375\376\201IDD\201J\201A \201K\312\313\314\344& \210\373\201L\375\376\201MDD\201N\201A \201O\312\313\314\344& \210\373\201P\375\376\201QDD\201R\201A \201S\312\313\314\344& \210\373\201T\375\376\201UDD\201V\201A \201W\312\313\314\333& \210\373\201X\375\376\201YDD\201Z\201A \201[\312\313\314\333& \210\373\201\\\375\376\201]DD\201^\201A \201_\312\201S \314\333& \210\373\201`\375\376\201aDD\201b\201A \201c\312\201S \314\333& \210\373\201d\375\376\201eDD\201f\201A \201b \312\313\314\370& \210\373\201g\375\376\201hDD\201i\201A \201W \312\313\314\370& \210\373\201j\375\376\201kDD\201l\201A \201b \312\313\314\344& \210\373\201m\375\376\201nDD\201o\201A \201b \312\313\314\344& \210\373\201p\375\376\201qDD\201r\201A \201b \312\313\314\333& \210\373\201s\375\376\201tDD\201u\201A \201v\312\313\314\370& \210\373\201w\375\376\201xDD\201y\201A \201z\312\201S \314\370& \210\373\201{\375\376\201|DD\201}\201A \201~\312\201S \314\370& \210\373\201\375\376\201\200DD\201\201\201A \201\202\312\201S \314\370& \210\373\201\203\375\376\201\204DD\201\205\201A \201\206\312\201S \314\370& \210\373\201\207\375\376\201\210DD\201\211\201A \201\212\312\201S \314\370& \207" [require lpr ps-def ps-print-loaddefs custom-declare-group postscript nil "Support for printing and PostScript." :tag "PostScript" :version "20" :group external ps-print "PostScript generator for Emacs." :link (emacs-library-link :tag "Source Lisp File" "ps-print.el") :prefix "ps-" text ps-print-horizontal "Horizontal page layout." "Horizontal" ps-print-vertical "Vertical page layout." "Vertical" ps-print-headers "Headers & footers layout." "Header & Footer" ps-print-font "Fonts customization." "Font" ps-print-color "Color customization." "Color" ps-print-face "Faces customization." "PS Faces" faces ps-print-n-up "N-up customization." "N-Up" ps-print-zebra "Zebra customization." "Zebra" ps-print-background "Background customization." "Background" ps-print-printer ((lpr custom-group)) "Printer customization." "Printer" ps-print-page "Page customization." "Page" ps-print-miscellany "Miscellany customization." "Miscellany" custom-declare-variable ps-error-handler-message funcall function #[0 "\300\207" [paper] 1] "Specify where the error handler message should be sent.\n\nValid values are:\n\n `none' catch the error and *DON'T* send any message.\n\n `paper' catch the error and print on paper the error message.\n\n `system' catch the error and send back the error message to\n printing system. This is useful only if printing system\n send back an email reporting the error, or if there is\n some other alternative way to report back the error from\n the system to you.\n\n `paper-and-system' catch the error, print on paper the error message and\n send back the error message to printing system.\n\nAny other value is treated as `paper'." :type (choice :menu-tag "Error Handler Message" :tag "Error Handler Message" (const none) (const paper) (const system) (const paper-and-system)) ps-user-defined-prologue #[0 "\300\207" [nil] 1] "User defined PostScript prologue code inserted before all prologue code.\n\n`ps-user-defined-prologue' may be a string or a symbol function which returns a\nstring. Note that this string is inserted after `ps-adobe-tag' and PostScript\nprologue comments, and before ps-print PostScript prologue code section. That\nis, this string is inserted after error handler initialization and before\nps-print settings.\n\nIt's strongly recommended only insert PostScript code and/or comments specific\nfor your printing system particularities. For example, some special\ninitialization that only your printing system needs.\n\nDo not insert code for duplex printing, n-up printing or error handler,\nps-print handles this in a suitable way.\n\nFor more information about PostScript, see:\n PostScript Language Reference Manual (2nd edition)\n Adobe Systems Incorporated\n\nAs an example for `ps-user-defined-prologue' setting:\n\n ;; Setting for HP PostScript printer\n (setq ps-user-defined-prologue\n (concat \"<</DeferredMediaSelection true /PageSize [612 792] \"\n \"/MediaPosition 2 /MediaType (Plain)>> setpagedevice\"))" (choice :menu-tag "User Defined Prologue" :tag "User Defined Prologue" (const :tag "none" nil) string symbol) ps-print-prologue-header #[0 "\300\207" [nil] 1] "PostScript prologue header comments besides that ps-print generates.\n\n`ps-print-prologue-header' may be a string or a symbol function which returns a\nstring. Note that this string is inserted on PostScript prologue header\nsection which is used to define some document characteristic through PostScript\nspecial comments, like \"%%Requirements: jog\\n\".\n\nps-print always inserts the %%Requirements: comment, so if you need to insert\nmore requirements put them first in `ps-print-prologue-header' using the\n\"%%+\" comment. For example, if you need to set numcopies to 3 and jog on\nrequirements and set %%LanguageLevel: to 2, do:\n\n (setq ps-print-prologue-header\n \"%%+ numcopies(3) jog\\n%%LanguageLevel: 2\\n\")\n\nThe duplex requirement is inserted by ps-print (see `ps-spool-duplex').\n\nDo not forget to terminate the string with \"\\n\".\n\nFor more information about PostScript document comments, see:\n PostScript Language Reference Manual (2nd edition)\n Adobe Systems Incorporated\n Appendix G: Document Structuring Conventions -- Version 3.0" (choice :menu-tag "Prologue Header" :tag "Prologue Header" (const :tag "none" nil) string symbol) ps-printer-name #[0 "\300\207" [nil] 1] "The name of a local printer for printing PostScript files.\n\nOn Unix-like systems, a string value should be a name understood by lpr's -P\noption; a value of nil means use the value of `printer-name' instead.\n\nOn MS-DOS and MS-Windows systems, a string value is taken as the name of the\nprinter device or port to which PostScript files are written, provided\n`ps-lpr-command' is \"\". By default it is the same as `printer-name'; typical\nnon-default settings would be \"LPT1\" to \"LPT3\" for parallel printers, or\n\"COM1\" to \"COM4\" or \"AUX\" for serial printers, or \"\\\\hostname\\printer\"\nfor a shared network printer. You can also set it to a name of a file, in\nwhich case the output gets appended to that file. (Note that `ps-print'\npackage already has facilities for printing to a file, so you might as well use\nthem instead of changing the setting of this variable.) If you want to\nsilently discard the printed output, set this to \"NUL\".\n\nSet to t, if the utility given by `ps-lpr-command' needs an empty printer name.\n\nAny other value is treated as t, that is, an empty printer name.\n\nSee also `ps-printer-name-option' for documentation." (choice :menu-tag "Printer Name" :tag "Printer Name" (const :tag "Same as printer-name" nil) (const :tag "No Printer Name" t) (file :tag "Print to file") (string :tag "Pipe to ps-lpr-command")) ps-printer-name-option #[0 "\203 \302\207 \207" [lpr-windows-system lpr-printer-switch "/D:"] 1] "Option for `ps-printer-name' variable (see it).\n\nOn Unix-like systems, if `lpr' is in use, this should be the string\n\"-P\"; if `lp' is in use, this should be the string \"-d\".\n\nOn MS-DOS and MS-Windows systems, if `print' is in use, this should be\nthe string \"/D:\".\n\nFor any other printing utility, see its documentation.\n\nSet this to \"\" or nil, if the utility given by `ps-lpr-command'\nneeds an empty printer name option--that is, pass the printer name\nwith no special option preceding it.\n\nThis variable is used only when `ps-printer-name' is a non-empty string." (choice :menu-tag "Printer Name Option" :tag "Printer Name Option" (const :tag "None" nil) (string :tag "Option")) "21.1" ps-lpr-command #[0 "\207" [lpr-command] 1] "Name of program for printing a PostScript file.\n\nOn MS-DOS and MS-Windows systems, if the value is an empty string then Emacs\nwill write directly to the printer port named by `ps-printer-name'. The\nprograms `print' and `nprint' (the standard print programs on Windows NT and\nNovell Netware respectively) are handled specially, using `ps-printer-name' as\nthe destination for output; any other program is treated like `lpr' except that\nan explicit filename is given as the last argument." string ps-lpr-switches #[0 "\207" [lpr-switches] 1] "List of extra switches to pass to `ps-lpr-command'.\n\nThe list element can be:\n\n string it should be an option for `ps-lpr-command' (which see).\n For example: \"-o Duplex=DuplexNoTumble\"\n\n symbol it can be a function or variable symbol. If it's a function\n symbol, it should be a function with no argument. The result\n of the function or the variable value should be a string or a\n list of strings.\n\n list the header should be a symbol function and the tail is the\n arguments for this function. This function should return a\n string or a list of strings.\n\nAny other value is silently ignored.\n\nIt is recommended to set `ps-printer-name' (which see) instead of including an\nexplicit switch on this list.\n\nSee `ps-lpr-command'." (repeat :tag "PostScript lpr Switches" (choice :menu-tag "PostScript lpr Switch" :tag "PostScript lpr Switch" string symbol (repeat sexp))) ps-print-region-function #[0 "\301>\203 \302\207\303\207" [system-type (ms-dos windows-nt) w32-direct-ps-print-region-function call-process-region] 2] "Specify a function to print the region on a PostScript printer.\nSee definition of `call-process-region' for calling conventions. The fourth\nand the sixth arguments are both nil." ps-manual-feed #[0 "\300\207" [nil] 1] "Non-nil means the printer will manually feed paper.\n\nIf it's nil, automatic feeding takes place." boolean ps-end-with-control-d #[0 "\205 \301\207" [lpr-windows-system t] 1] "Non-nil means insert C-d at end of PostScript file generated." ps-page-dimensions-database #[0 "\300\301\302\303\245\304\305_\306\245\307F\310\304\311_\312\245\313\314\245\315F\316\304\317_\320\321F\322\304\323_\324\325F\326\304\327_\304\330_\331F\332\333\334\335F\336\337\340\341F\342\304\343_\304\344_\345F\346\304\347_\350\351F\352\304\353_\304\354_\355F\356\304\357_\304\360_\361F\362\304\363_\304\364_\365F\366\367\370\371\372\373\374\375\376\377\201@ \201A \201B \201C \201D \201E \201F \201G \201H \201I \201J \201K \201L \257#!\207" [purecopy a4 1512.0 2.54 72 29.7 2.54 "A4" a3 29.7 2.54 3024.0 2.54 "A3" letter 8.5 792.0 "Letter" legal 8.5 1008.0 "Legal" letter-small 7.68 10.16 "LetterSmall" tabloid 792.0 1224.0 "Tabloid" ledger 1224.0 792.0 "Ledger" statement 5.5 8.5 "Statement" executive 7.5 720.0 "Executive" a4small 7.47 10.85 "A4Small" b4 10.125 14.33 "B4" b5 7.16 10.125 "B5" (addresslarge 236.0 99.0 "AddressLarge") (addresssmall 236.0 68.0 "AddressSmall") (cuthanging13 90.0 222.0 "CutHanging13") (cuthanging15 90.0 114.0 "CutHanging15") (diskette 181.0 136.0 "Diskette") (eurofilefolder 139.0 112.0 "EuropeanFilefolder") (eurofoldernarrow 526.0 107.0 "EuroFolderNarrow") (eurofolderwide 526.0 136.0 "EuroFolderWide") (euronamebadge 189.0 108.0 "EuroNameBadge") (euronamebadgelarge 223.0 136.0 "EuroNameBadgeLarge") (filefolder 230.0 37.0 "FileFolder") (jewelry 76.0 136.0 "Jewelry") (mediabadge 180.0 136.0 "MediaBadge") (multipurpose 126.0 68.0 "MultiPurpose") (retaillabel 90.0 104.0 "RetailLabel") (shipping 271.0 136.0 "Shipping") (slide35mm 26.0 104.0 "Slide35mm") (spine8mm 187.0 26.0 "Spine8mm") (topcoated 425.19685 136.0 "TopCoatedPaper") (topcoatedpaper 396.0 136.0 "TopcoatedPaper150") (vhsface 205.0 127.0 "VHSFace") (vhsspine 400.0 50.0 "VHSSpine") (zipdisk 156.0 136.0 "ZipDisk")] 36] "List associating a symbolic paper type to its width, height and doc media.\nSee `ps-paper-type'." (repeat (list :tag "Paper Type" (symbol :tag "Symbol Name") (number :tag "Width in points") (number :tag "Height in points") (string :tag "Media"))) ps-paper-type #[0 "\300\207" [letter] 1] "Specify the size of paper to format for.\nShould be one of the paper types defined in `ps-page-dimensions-database', for\nexample `letter', `legal' or `a4'." (symbol :validate (lambda (wid) (if (assq (widget-value wid) ps-page-dimensions-database) nil (widget-put wid :error "Unknown paper size") wid))) ps-warn-paper-type #[0 "\300\207" [t] 1] "Non-nil means give an error if paper size is not equal to `ps-paper-type'.\n\nIt's used when `ps-spool-config' is set to `setpagedevice'." ps-landscape-mode #[0 "\300\207" [nil] 1] "Non-nil means print in landscape mode." ps-print-upside-down #[0 "\300\207" [nil] 1] "Non-nil means print upside-down (that is, rotated by 180 degrees)." ps-selected-pages #[0 "\300\207" [nil] 1] "Specify which pages to print.\n\nIf nil, print all pages.\n\nIf a list, the lists element may be an integer or a cons cell (FROM . TO)\ndesignating FROM page to TO page; any invalid element is ignored, that is, an\ninteger lesser than one or if FROM is greater than TO.\n\nOtherwise, it's treated as nil.\n\nAfter ps-print processing `ps-selected-pages' is set to nil. But the\nlatest `ps-selected-pages' is saved in `ps-last-selected-pages' (which\nsee). So you can restore the latest selected pages by using\n`ps-last-selected-pages' or with the `ps-restore-selected-pages'\ncommand (which see).\n\nSee also `ps-even-or-odd-pages'." (repeat :tag "Selected Pages" (radio :tag "Page" (integer :tag "Number") (cons :tag "Range" (integer :tag "From") (integer :tag "To")))) ps-even-or-odd-pages #[0 "\300\207" [nil] 1] "Specify if it prints even/odd pages.\n\nValid values are:\n\n nil print all pages.\n\n `even-page' print only even pages.\n\n `odd-page' print only odd pages.\n\n `even-sheet' print only even sheets.\n That is, if `ps-n-up-printing' is 1, it behaves as `even-page';\n but for values greater than 1, it'll print only the even sheet\n of paper.\n\n `odd-sheet' print only odd sheets.\n That is, if `ps-n-up-printing' is 1, it behaves as `odd-page';\n but for values greater than 1, it'll print only the odd sheet\n of paper.\n\nAny other value is treated as nil.\n\nIf you set option `ps-selected-pages', first the pages are\nfiltered by option `ps-selected-pages' and then by `ps-even-or-odd-pages'.\nFor example, if we have:\n\n (setq ps-selected-pages \\='(1 4 (6 . 10) (12 . 16) 20))\n\nCombining with `ps-even-or-odd-pages' and option `ps-n-up-printing', we have:\n\n`ps-n-up-printing' = 1:\n `ps-even-or-odd-pages' PAGES PRINTED\n nil 1, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 20\n even-page 4, 6, 8, 10, 12, 14, 16, 20\n odd-page 1, 7, 9, 13, 15\n even-sheet 4, 6, 8, 10, 12, 14, 16, 20\n odd-sheet 1, 7, 9, 13, 15\n\n`ps-n-up-printing' = 2:\n `ps-even-or-odd-pages' PAGES PRINTED\n nil 1/4, 6/7, 8/9, 10/12, 13/14, 15/16, 20\n even-page 4/6, 8/10, 12/14, 16/20\n odd-page 1/7, 9/13, 15\n even-sheet 6/7, 10/12, 15/16\n odd-sheet 1/4, 8/9, 13/14, 20\n\nSo even-page/odd-page are about page parity and even-sheet/odd-sheet are about\nsheet parity." (choice :menu-tag "Print Even/Odd Pages" :tag "Print Even/Odd Pages" (const :tag "All Pages" nil) (const :tag "Only Even Pages" even-page) (const :tag "Only Odd Pages" odd-page) (const :tag "Only Even Sheets" even-sheet) (const :tag "Only Odd Sheets" odd-sheet)) ps-print-control-characters #[0 "\300\207" [control-8-bit] 1] "Specify the printable form for control and 8-bit characters.\nThat is, instead of sending, for example, a ^D (\\004) to printer,\nit is sent the string \"^D\".\n\nValid values are:\n\n `8-bit' This is the value to use when you want an ASCII encoding of\n any control or non-ASCII character. Control characters are\n encoded as \"^D\", and non-ASCII characters have an\n octal encoding.\n\n `control-8-bit' This is the value to use when you want an ASCII encoding of\n any control character, whether it is 7 or 8-bit.\n European 8-bits accented characters are printed according\n the current font.\n\n `control' Only ASCII control characters have an ASCII encoding.\n European 8-bits accented characters are printed according\n the current font.\n\n nil No ASCII encoding. Any character is printed according the\n current font.\n\nAny other value is treated as nil." (choice :menu-tag "Control Char" :tag "Control Char" (const 8-bit) (const control-8-bit) (const control) (const :tag "nil" nil)) ps-n-up-printing #[0 "\300\207" [1] 1] "Specify the number of pages per sheet paper." (integer :tag "N Up Printing" :validate (lambda (wid) (if (and (< 0 (widget-value wid)) (<= (widget-value wid) 100)) nil (widget-put wid :error "Number of pages per sheet paper must be between 1 and 100.") wid))) ps-n-up-margin #[0 "\300\301\245\207" [72.0 2.54] 2] "Specify the margin in points between the sheet border and n-up printing." number ps-n-up-border-p #[0 "\300\207" [t] 1] "Non-nil means a border is drawn around each page." ps-n-up-filling #[0 "\300\207" [left-top] 1] "Specify how page matrix is filled on each sheet of paper.\n\nFollowing are the valid values for `ps-n-up-filling' with a filling example\nusing a 3x4 page matrix:\n\n `left-top' 1 2 3 4 `left-bottom' 9 10 11 12\n 5 6 7 8 5 6 7 8\n 9 10 11 12 1 2 3 4\n\n `right-top' 4 3 2 1 `right-bottom' 12 11 10 9\n 8 7 6 5 8 7 6 5\n 12 11 10 9 4 3 2 1\n\n `top-left' 1 4 7 10 `bottom-left' 3 6 9 12\n 2 5 8 11 2 5 8 11\n 3 6 9 12 1 4 7 10\n\n `top-right' 10 7 4 1 `bottom-right' 12 9 6 3\n 11 8 5 2 11 8 5 2\n 12 9 6 3 10 7 4 1\n\nAny other value is treated as `left-top'." (choice :menu-tag "N-Up Filling" :tag "N-Up Filling" (const left-top) (const left-bottom) (const right-top) (const right-bottom) (const top-left) (const bottom-left) (const top-right) (const bottom-right)) ps-number-of-columns #[0 "\203 \301\207\302\207" [ps-landscape-mode 2 1] 1] "Specify the number of columns." ps-zebra-stripes #[0 "\300\207" [nil] 1] "Non-nil means print zebra stripes.\nSee also documentation for `ps-zebra-stripe-height' and `ps-zebra-color'." ps-zebra-stripe-height #[0 "\300\207" [3] 1] "Number of zebra stripe lines.\nSee also documentation for `ps-zebra-stripes' and `ps-zebra-color'." ps-zebra-color #[0 "\300\207" [0.95] 1] "Zebra stripe gray scale or RGB color.\nSee also documentation for `ps-zebra-stripes' and `ps-zebra-stripe-height'." (choice :menu-tag "Zebra Gray/Color" :tag "Zebra Gray/Color" (number :tag "Gray Scale" :value 0.95) (string :tag "Color Name" :value "gray95") (list :tag "RGB Color" :value (0.95 0.95 0.95) (number :tag "Red") (number :tag "Green") (number :tag "Blue"))) ps-zebra-stripe-follow #[0 "\300\207" [nil] 1] "Specify how zebra stripes continue on next page.\n\nVisually, valid values are (the character `+' at right of each column indicates\nthat a line is printed):\n\n nil `follow' `full' `full-follow'\n Current Page -------- ----------- --------- ----------------\n 1 XXXXX + 1 XXXXXXXX + 1 XXXXXX + 1 XXXXXXXXXXXXX +\n 2 XXXXX + 2 XXXXXXXX + 2 XXXXXX + 2 XXXXXXXXXXXXX +\n 3 XXXXX + 3 XXXXXXXX + 3 XXXXXX + 3 XXXXXXXXXXXXX +\n 4 + 4 + 4 + 4 +\n 5 + 5 + 5 + 5 +\n 6 + 6 + 6 + 6 +\n 7 XXXXX + 7 XXXXXXXX + 7 XXXXXX + 7 XXXXXXXXXXXXX +\n 8 XXXXX + 8 XXXXXXXX + 8 XXXXXX + 8 XXXXXXXXXXXXX +\n 9 XXXXX + 9 XXXXXXXX + 9 XXXXXX + 9 XXXXXXXXXXXXX +\n 10 + 10 +\n 11 + 11 +\n -------- ----------- --------- ----------------\n Next Page -------- ----------- --------- ----------------\n 12 XXXXX + 12 + 10 XXXXXX + 10 +\n 13 XXXXX + 13 XXXXXXXX + 11 XXXXXX + 11 +\n 14 XXXXX + 14 XXXXXXXX + 12 XXXXXX + 12 +\n 15 + 15 XXXXXXXX + 13 + 13 XXXXXXXXXXXXX +\n 16 + 16 + 14 + 14 XXXXXXXXXXXXX +\n 17 + 17 + 15 + 15 XXXXXXXXXXXXX +\n 18 XXXXX + 18 + 16 XXXXXX + 16 +\n 19 XXXXX + 19 XXXXXXXX + 17 XXXXXX + 17 +\n 20 XXXXX + 20 XXXXXXXX + 18 XXXXXX + 18 +\n 21 + 21 XXXXXXXX +\n 22 + 22 +\n -------- ----------- --------- ----------------\n\nAny other value is treated as nil." (choice :menu-tag "Zebra Stripe Follow" :tag "Zebra Stripe Follow" (const :tag "Always Restart" nil) (const :tag "Continue on Next Page" follow) (const :tag "Print Only Full Stripe" full) (const :tag "Continue on Full Stripe" full-follow)) ps-line-number #[0 "\300\207" [nil] 1] "Non-nil means print line number." ps-line-number-step #[0 "\300\207" [1] 1] "Specify the interval that line number is printed.\n\nFor example, `ps-line-number-step' is set to 2, the printing will look like:\n\n 1 one line\n one line\n 3 one line\n one line\n 5 one line\n one line\n ...\n\nValid values are:\n\n integer an integer that specifies the interval that line number is\n printed. If it's lesser than or equal to zero, it's used the\n value 1.\n\n `zebra' specifies that only the line number of the first line in a\n zebra stripe is to be printed.\n\nAny other value is treated as `zebra'." (choice :menu-tag "Line Number Step" :tag "Line Number Step" (integer :tag "Step Interval") (const :tag "Synchronize Zebra" zebra)) ps-line-number-start #[0 "\300\207" [1] 1] "Specify the starting point in the interval given by `ps-line-number-step'.\n\nFor example, if `ps-line-number-step' is set to 3 and `ps-line-number-start' is\nset to 3, the printing will look like:\n\n one line\n one line\n 3 one line\n one line\n one line\n 6 one line\n one line\n one line\n 9 one line\n one line\n ...\n\nThe values for `ps-line-number-start':\n\n * If `ps-line-number-step' is an integer, must be between 1 and the value of\n `ps-line-number-step' inclusive.\n\n * If `ps-line-number-step' is set to `zebra', must be between 1 and the\n value of `ps-zebra-stripe-height' inclusive. Use this combination if you\n wish that line number be relative to zebra stripes." (integer :tag "Start Step Interval") ps-print-background-image #[0 "\300\207" [nil] 1] "EPS image list to be printed on background.\n\nThe elements are:\n\n (FILENAME X Y XSCALE YSCALE ROTATION PAGES...)\n\nFILENAME is a file name which contains an EPS image or some PostScript\nprogramming like EPS.\nFILENAME is ignored, if it doesn't exist or is read protected.\n\nX and Y are relative positions on paper to put the image.\nIf X and Y are nil, the image is centered on paper.\n\nXSCALE and YSCALE are scale factor to be applied to image before printing.\nIf XSCALE and YSCALE are nil, the original size is used.\n\nROTATION is the image rotation angle; if nil, the default is 0.\n\nPAGES designates the page to print background image.\nPAGES may be a number or a cons cell (FROM . TO) designating FROM page to TO\npage.\nIf PAGES is nil, print background image on all pages.\n\nX, Y, XSCALE, YSCALE and ROTATION may be a floating point number, an integer\nnumber or a string. If it is a string, the string should contain PostScript\nprogramming that returns a float or integer value.\n\nFor example, if you wish to print an EPS image on all pages use:\n\n ((\"~/images/EPS-image.ps\"))" (repeat (list (file :tag "EPS File") (choice :tag "X" (const :tag "default" nil) number string) (choice :tag "Y" (const :tag "default" nil) number string) (choice :tag "X Scale" (const :tag "default" nil) number string) (choice :tag "Y Scale" (const :tag "default" nil) number string) (choice :tag "Rotation" (const :tag "default" nil) number string) (repeat :tag "Pages" :inline t (radio (integer :tag "Page") (cons :tag "Range" (integer :tag "From") (integer :tag "To")))))) ps-print-background-text #[0 "\300\207" [nil] 1] "Text list to be printed on background.\n\nThe elements are:\n\n (STRING X Y FONT FONTSIZE GRAY ROTATION PAGES...)\n\nSTRING is the text to be printed on background.\n\nX and Y are positions on paper to put the text.\nIf X and Y are nil, the text is positioned at lower left corner.\n\nFONT is a font name to be used on printing the text.\nIf nil, \"Times-Roman\" is used.\n\nFONTSIZE is font size to be used, if nil, 200 is used.\n\nGRAY is the text gray factor (should be very light like 0.8).\nIf nil, the default is 0.85.\n\nROTATION is the text rotation angle; if nil, the angle is given by the diagonal\nfrom lower left corner to upper right corner.\n\nPAGES designates the page to print background text.\nPAGES may be a number or a cons cell (FROM . TO) designating FROM page to TO\npage.\nIf PAGES is nil, print background text on all pages.\n\nX, Y, FONTSIZE, GRAY and ROTATION may be a floating point number, an integer\nnumber or a string. If it is a string, the string should contain PostScript\nprogramming that returns a float or integer value.\n\nFor example, if you wish to print text \"Preliminary\" on all pages use:\n\n ((\"Preliminary\"))" (repeat (list (string :tag "Text") (choice :tag "X" (const :tag "default" nil) number string) (choice :tag "Y" (const :tag "default" nil) number string) (choice :tag "Font" (const :tag "default" nil) string) (choice :tag "Fontsize" (const :tag "default" nil) number string) (choice :tag "Gray" (const :tag "default" nil) number string) (choice :tag "Rotation" (const :tag "default" nil) number string) (repeat :tag "Pages" :inline t (radio (integer :tag "Page") (cons :tag "Range" (integer :tag "From") (integer :tag "To")))))) ps-left-margin #[0 "\300\301\245\207" [144.0 2.54] 2] "Left margin in points (1/72 inch)." ps-right-margin #[0 "\300\301\245\207" [144.0 2.54] 2] "Right margin in points (1/72 inch)." ps-inter-column #[0 "\300\301\245\207" [144.0 2.54] 2] "Horizontal space between columns in points (1/72 inch)." ps-bottom-margin #[0 "\300\301_\302\245\207" [72 1.5 2.54] 2] "Bottom margin in points (1/72 inch)." ps-top-margin #[0 "\300\301_\302\245\207" [72 1.5 2.54] 2] "Top margin in points (1/72 inch)." ps-header-offset #[0 "\300\301\245\207" [72.0 2.54] 2] "Vertical space in points (1/72 inch) between the main text and the header." ps-header-line-pad #[0 "\300\207" [0.15] 1] "Portion of a header title line height to insert.\nThe insertion is done between the header frame and the text it contains,\nboth in the vertical and horizontal directions." ps-footer-offset #[0 "\300\301\245\207" [72.0 2.54] 2] "Vertical space in points (1/72 inch) between the main text and the footer." ps-footer-line-pad #[0 "\300\207" [0.15] 1] "Portion of a footer title line height to insert.\nThe insertion is done between the footer frame and the text it contains,\nboth in the vertical and horizontal directions." ps-print-header #[0 "\300\207" [t] 1] "Non-nil means print a header at the top of each page.\nBy default, the header displays the buffer name, page number, and, if the\nbuffer is visiting a file, the file's directory. Headers are customizable by\nchanging variables `ps-left-header' and `ps-right-header'." ps-print-header-frame #[0 "\300\207" [t] 1] "Non-nil means draw a gaudy frame around the header." ps-header-frame-alist #[0 "\300\207" [((fore-color . 0.0) (back-color . 0.9) (border-width . 0.4) (border-color . 0.0) (shadow-color . 0.0))] 1] "Specify header frame properties alist.\n\nValid frame properties are:\n\n `fore-color' Specify the foreground frame color.\n It should be a float number between 0.0 (black color)\n and 1.0 (white color), a string which is a color name,\n or a list of 3 float numbers which corresponds to the\n Red Green Blue color scale, each float number between\n 0.0 (dark color) and 1.0 (bright color).\n\n `back-color' Specify the background frame color (similar to\n `fore-color').\n\n `shadow-color' Specify the shadow color (similar to `fore-color').\n\n `border-color' Specify the border color (similar to `fore-color').\n\n `border-width' Specify the border width.\n\nAny other property is ignored.\n\nDon't change this alist directly, instead use customization, or `ps-value',\n`ps-get', `ps-put' and `ps-del' functions (see them for documentation)." (repeat (choice :menu-tag "Header Frame Element" :tag #1="" (cons :tag "Foreground Color" :format "%v" (const :format #1# fore-color) (choice :menu-tag "Foreground Color" :tag "Foreground Color" (number :tag "Gray Scale" :value 0.0) (string :tag "Color Name" :value "black") (list :tag "RGB Color" :value (0.0 0.0 0.0) (number :tag "Red") (number :tag "Green") (number :tag "Blue")))) (cons :tag "Background Color" :format "%v" (const :format #1# back-color) (choice :menu-tag "Background Color" :tag "Background Color" (number :tag "Gray Scale" :value 0.9) (string :tag "Color Name" :value "gray90") (list :tag "RGB Color" :value (0.9 0.9 0.9) (number :tag "Red") (number :tag "Green") (number :tag "Blue")))) (cons :tag "Border Width" :format "%v" (const :format #1# border-width) (number :tag "Border Width" :value 0.4)) (cons :tag "Border Color" :format "%v" (const :format #1# border-color) (choice :menu-tag "Border Color" :tag "Border Color" (number :tag "Gray Scale" :value 0.0) (string :tag "Color Name" :value "black") (list :tag "RGB Color" :value (0.0 0.0 0.0) (number :tag "Red") (number :tag "Green") (number :tag "Blue")))) (cons :tag "Shadow Color" :format "%v" (const :format #1# shadow-color) (choice :menu-tag "Shadow Color" :tag "Shadow Color" (number :tag "Gray Scale" :value 0.0) (string :tag "Color Name" :value "black") (list :tag "RGB Color" :value (0.0 0.0 0.0) (number :tag "Red") (number :tag "Green") (number :tag "Blue")))))) ps-header-lines #[0 "\300\207" [2] 1] "Number of lines to display in page header, when generating PostScript." integer ps-print-footer #[0 "\300\207" [nil] 1] "Non-nil means print a footer at the bottom of each page.\nBy default, the footer displays page number.\nFooters are customizable by changing variables `ps-left-footer' and\n`ps-right-footer'." ps-print-footer-frame #[0 "\300\207" [t] 1] "Non-nil means draw a gaudy frame around the footer." ps-footer-frame-alist #[0 "\300\207" [((fore-color . 0.0) (back-color . 0.9) (border-width . 0.4) (border-color . 0.0) (shadow-color . 0.0))] 1] "Specify footer frame properties alist.\n\nDon't change this alist directly, instead use customization, or `ps-value',\n`ps-get', `ps-put' and `ps-del' functions (see them for documentation).\n\nSee also `ps-header-frame-alist' for documentation." (repeat (choice :menu-tag "Header Frame Element" :tag #1# (cons :tag "Foreground Color" :format "%v" (const :format #1# fore-color) (choice :menu-tag "Foreground Color" :tag "Foreground Color" (number :tag "Gray Scale" :value 0.0) (string :tag "Color Name" :value "black") (list :tag "RGB Color" :value (0.0 0.0 0.0) (number :tag "Red") (number :tag "Green") (number :tag "Blue")))) (cons :tag "Background Color" :format "%v" (const :format #1# back-color) (choice :menu-tag "Background Color" :tag "Background Color" (number :tag "Gray Scale" :value 0.9) (string :tag "Color Name" :value "gray90") (list :tag "RGB Color" :value (0.9 0.9 0.9) (number :tag "Red") (number :tag "Green") (number :tag "Blue")))) (cons :tag "Border Width" :format "%v" (const :format #1# border-width) (number :tag "Border Width" :value 0.4)) (cons :tag "Border Color" :format "%v" (const :format #1# border-color) (choice :menu-tag "Border Color" :tag "Border Color" (number :tag "Gray Scale" :value 0.0) (string :tag "Color Name" :value "black") (list :tag "RGB Color" :value (0.0 0.0 0.0) (number :tag "Red") (number :tag "Green") (number :tag "Blue")))) (cons :tag "Shadow Color" :format "%v" (const :format #1# shadow-color) (choice :menu-tag "Shadow Color" :tag "Shadow Color" (number :tag "Gray Scale" :value 0.0) (string :tag "Color Name" :value "black") (list :tag "RGB Color" :value (0.0 0.0 0.0) (number :tag "Red") (number :tag "Green") (number :tag "Blue")))))) ps-footer-lines #[0 "\300\207" [2] 1] "Number of lines to display in page footer, when generating PostScript." ps-print-only-one-header #[0 "\300\207" [nil] 1] "Non-nil means print only one header/footer at the top/bottom of each page.\nThis is useful when printing more than one column, so it is possible to have\nonly one header/footer over all columns or one header/footer per column.\nSee also `ps-print-header' and `ps-print-footer'." ps-switch-header #[0 "\300\207" [duplex] 1] "Specify if headers/footers are switched or not.\n\nValid values are:\n\nnil Never switch headers/footers.\n\nt Always switch headers/footers.\n\nduplex Switch headers/footers only when duplexing is on, that is, when\n `ps-spool-duplex' is non-nil.\n\nAny other value is treated as t.\n\nSee also `ps-print-header' and `ps-print-footer'." (choice :menu-tag "Switch Header/Footer" :tag "Switch Header/Footer" (const :tag "Never Switch" nil) (const :tag "Always Switch" t) (const :tag "Switch When Duplexing" duplex)) ps-show-n-of-n #[0 "\300\207" [t] 1] "Non-nil means show page numbers as N/M, meaning page N of M.\nNOTE: page numbers are displayed as part of headers,\n see variable `ps-print-header'." ps-spool-config #[0 "?\205 \301\207" [lpr-windows-system lpr-switches] 1] "Specify who is responsible for setting duplex and page size.\n\nValid values are:\n\n `lpr-switches' duplex and page size are configured by `ps-lpr-switches'.\n Don't forget to set `ps-lpr-switches' to select duplex\n printing for your printer.\n\n `setpagedevice' duplex and page size are configured by ps-print using the\n setpagedevice PostScript operator.\n\n nil duplex and page size are configured by ps-print *not* using\n the setpagedevice PostScript operator.\n\nAny other value is treated as nil.\n\nWARNING: The setpagedevice PostScript operator affects ghostview utility when\n viewing file generated using landscape. Also on some printers,\n setpagedevice affects zebra stripes; on other printers, setpagedevice\n affects the left margin.\n Besides all that, if your printer does not have the paper size\n specified by setpagedevice, your printing will be aborted.\n So, if you need to use setpagedevice, set `ps-spool-config' to\n `setpagedevice', generate a test file and send it to your printer; if\n the printed file isn't OK, set `ps-spool-config' to nil." (choice :menu-tag "Spool Config" :tag "Spool Config" (const lpr-switches) (const setpagedevice) (const :tag "nil" nil)) ps-spool-duplex #[0 "\300\207" [nil] 1] "Non-nil generates PostScript for a two-sided printer.\nFor a duplex printer, the `ps-spool-*' and `ps-print-*' commands will insert\nblank pages as needed between print jobs so that the next buffer printed will\nstart on the right page. Also, if headers are turned on, the headers will be\nreversed on duplex printers so that the page numbers fall to the left on\neven-numbered pages.\n\nSee also `ps-spool-tumble'." ps-spool-tumble #[0 "\300\207" [nil] 1] "Specify how the page images on opposite sides of a sheet are oriented.\nIf `ps-spool-tumble' is nil, produces output suitable for binding on the left\nor right. If `ps-spool-tumble' is non-nil, produces output suitable for\nbinding at the top or bottom.\n\nIt has effect only when `ps-spool-duplex' is non-nil." ps-font-info-database #[0 "\300\207" [((Courier (fonts (normal . "Courier") (bold . "Courier-Bold") (italic . "Courier-Oblique") (bold-italic . "Courier-BoldOblique")) (size . 10.0) (line-height . 10.55) (space-width . 6.0) (avg-char-width . 6.0)) (Helvetica (fonts (normal . "Helvetica") (bold . "Helvetica-Bold") (italic . "Helvetica-Oblique") (bold-italic . "Helvetica-BoldOblique")) (size . 10.0) (line-height . 11.56) (space-width . 2.78) (avg-char-width . 5.09243)) (Times (fonts (normal . "Times-Roman") (bold . "Times-Bold") (italic . "Times-Italic") (bold-italic . "Times-BoldItalic")) (size . 10.0) (line-height . 11.0) (space-width . 2.5) (avg-char-width . 4.71432)) (Palatino (fonts (normal . "Palatino-Roman") (bold . "Palatino-Bold") (italic . "Palatino-Italic") (bold-italic . "Palatino-BoldItalic")) (size . 10.0) (line-height . 12.1) (space-width . 2.5) (avg-char-width . 5.08676)) (Helvetica-Narrow (fonts (normal . "Helvetica-Narrow") (bold . "Helvetica-Narrow-Bold") (italic . "Helvetica-Narrow-Oblique") (bold-italic . "Helvetica-Narrow-BoldOblique")) (size . 10.0) (line-height . 11.56) (space-width . 2.2796) (avg-char-width . 4.17579)) (NewCenturySchlbk (fonts (normal . "NewCenturySchlbk-Roman") (bold . "NewCenturySchlbk-Bold") (italic . "NewCenturySchlbk-Italic") (bold-italic . "NewCenturySchlbk-BoldItalic")) (size . 10.0) (line-height . 12.15) (space-width . 2.78) (avg-char-width . 5.31162)) (AvantGarde-Book (fonts (normal . "AvantGarde-Book") (italic . "AvantGarde-BookOblique")) (size . 10.0) (line-height . 11.77) (space-width . 2.77) (avg-char-width . 5.45189)) (AvantGarde-Demi (fonts (normal . "AvantGarde-Demi") (italic . "AvantGarde-DemiOblique")) (size . 10.0) (line-height . 12.72) (space-width . 2.8) (avg-char-width . 5.51351)) (Bookman-Demi (fonts (normal . "Bookman-Demi") (italic . "Bookman-DemiItalic")) (size . 10.0) (line-height . 11.77) (space-width . 3.4) (avg-char-width . 6.05946)) (Bookman-Light (fonts (normal . "Bookman-Light") (italic . "Bookman-LightItalic")) (size . 10.0) (line-height . 11.79) (space-width . 3.2) (avg-char-width . 5.67027)) (Symbol (fonts (normal . "Symbol")) (size . 10.0) (line-height . 13.03) (space-width . 2.5) (avg-char-width . 3.24324)) (Zapf-Dingbats (fonts (normal . "Zapf-Dingbats")) (size . 10.0) (line-height . 9.63) (space-width . 2.78) (avg-char-width . 2.78)) (ZapfChancery-MediumItalic (fonts (normal . "ZapfChancery-MediumItalic")) (size . 10.0) (line-height . 11.45) (space-width . 2.2) (avg-char-width . 4.10811)) (Zapf-Chancery-MediumItalic (fonts (normal . "ZapfChancery-MediumItalic")) (size . 10.0) (line-height . 11.45) (space-width . 2.2) (avg-char-width . 4.10811)))] 1] "Font info database.\nEach element comprises: font family (the key), name, bold, italic, bold-italic,\nreference size, line height, space width, average character width.\nTo get the info for another specific font (say Helvetica), do the following:\n- create a new buffer\n- generate the PostScript image to a file (C-u M-x ps-print-buffer)\n- open this file and delete the leading `%' (which is the PostScript comment\n character) from the line\n `% 3 cm 20 cm moveto 10/Courier ReportFontInfo showpage'\n to get the line\n `3 cm 20 cm moveto 10/Helvetica ReportFontInfo showpage'\n- add the values to `ps-font-info-database'.\nYou can get all the fonts of YOUR printer using `ReportAllFontInfo'.\n\nNote also that ps-print DOESN'T download any font to your printer, instead it\nuses the fonts resident in your printer." (repeat (list :tag "Font Definition" (symbol :tag "Font Family") (cons :format "%v" (const :format #1# fonts) (repeat :tag "Faces" (cons (choice :menu-tag "Font Weight/Slant" :tag "Font Weight/Slant" (const normal) (const bold) (const italic) (const bold-italic) (symbol :tag "Face")) (string :tag "Font Name")))) (cons :format "%v" (const :format #1# size) (number :tag "Reference Size")) (cons :format "%v" (const :format #1# line-height) (number :tag "Line Height")) (cons :format "%v" (const :format #1# space-width) (number :tag "Space Width")) (cons :format "%v" (const :format #1# avg-char-width) (number :tag "Average Character Width")))) ps-font-family #[0 "\300\207" [Courier] 1] "Font family name for ordinary text, when generating PostScript." symbol ps-font-size #[0 "\300\207" [(7 . 8.5)] 1] "Font size, in points, for ordinary text, when generating PostScript.\nEither a float or a cons of floats (LANDSCAPE-SIZE . PORTRAIT-SIZE)." (choice :menu-tag "Ordinary Text Font Size" :tag "Ordinary Text Font Size" (number :tag "Text Size") (cons :tag "Landscape/Portrait" (number :tag "Landscape Text Size") (number :tag "Portrait Text Size"))) ps-header-font-family #[0 "\300\207" [Helvetica] 1] "Font family name for text in the header, when generating PostScript." ps-header-font-size #[0 "\300\207" [(10 . 12)] 1] "Font size, in points, for text in the header, when generating PostScript.\nEither a float or a cons of floats (LANDSCAPE-SIZE . PORTRAIT-SIZE)." (choice :menu-tag "Header Font Size" :tag "Header Font Size" (number :tag "Header Size") (cons :tag "Landscape/Portrait" (number :tag "Landscape Header Size") (number :tag "Portrait Header Size"))) ps-header-title-font-size #[0 "\300\207" [(12 . 14)] 1] "Font size, in points, for the top line of text in header, in PostScript.\nEither a float or a cons of floats (LANDSCAPE-SIZE . PORTRAIT-SIZE)." (choice :menu-tag "Header Title Font Size" :tag "Header Title Font Size" (number :tag "Header Title Size") (cons :tag "Landscape/Portrait" (number :tag "Landscape Header Title Size") (number :tag "Portrait Header Title Size"))) ps-footer-font-family #[0 "\300\207" [Helvetica] 1] "Font family name for text in the footer, when generating PostScript." ps-footer-font-size #[0 "\300\207" [(10 . 12)] 1] "Font size, in points, for text in the footer, when generating PostScript.\nEither a float or a cons of floats (LANDSCAPE-SIZE . PORTRAIT-SIZE)." (choice :menu-tag "Footer Font Size" :tag "Footer Font Size" (number :tag "Footer Size") (cons :tag "Landscape/Portrait" (number :tag "Landscape Footer Size") (number :tag "Portrait Footer Size"))) ps-line-number-color #[0 "\300\207" [#2="black"] 1 #2#] "Specify color for line-number, when generating PostScript." (choice :menu-tag "Line Number Color" :tag "Line Number Color" (number :tag "Gray Scale" :value 0) (string :tag "Color Name" :value "black") (list :tag "RGB Color" :value (0 0 0) (number :tag "Red") (number :tag "Green") (number :tag "Blue"))) ps-line-number-font #[0 "\300\207" [#3="Times-Italic"] 1 #3#] "Font for line-number, when generating PostScript." ps-line-number-font-size #[0 "\300\207" [6] 1] "Font size, in points, for line number, when generating PostScript.\nEither a float or a cons of floats (LANDSCAPE-SIZE . PORTRAIT-SIZE)." (choice :menu-tag "Line Number Font Size" :tag "Line Number Font Size" (number :tag "Font Size") (cons :tag "Landscape/Portrait" (number :tag "Landscape Font Size") (number :tag "Portrait Font Size"))) ps-print-color-p #[0 "\300\301!\207" [fboundp x-color-values] 2] "Specify how buffer's text color is printed.\n\nValid values are:\n\n nil Do not print colors.\n\n t Print colors.\n\n black-white Print colors on black/white printer.\n See also `ps-black-white-faces'.\n\nAny other value is treated as t." (choice :menu-tag "Print Color" :tag "Print Color" (const :tag "Do NOT Print Color" nil) (const :tag "Print Always Color" t) (const :tag "Print Black/White Color" black-white)) ps-default-fg #[0 "\300\207" [nil] 1] "RGB values of the default foreground color.\n\nThe `ps-default-fg' variable contains the default foreground color used by\nps-print, that is, if there is a face in a text that doesn't have a foreground\ncolor, the `ps-default-fg' color should be used.\n\nValid values are:\n\n t The foreground color of Emacs session will be used.\n\n frame-parameter The foreground-color frame parameter will be used.\n\n NUMBER It's a real value between 0.0 (black) and 1.0 (white) that\n indicate the gray color.\n\n COLOR-NAME It's a string which contains the color name. For example:\n \"yellow\".\n\n LIST It's a list of RGB values, that is a list of three real values\n of the form:\n\n (RED GREEN BLUE)\n\n Where RED, GREEN and BLUE are reals between 0.0 (no color) and\n 1.0 (full color).\n\nAny other value is ignored and black color will be used.\n\nThis variable is used only when `ps-print-color-p' (which see) is neither nil\nnor black-white." (choice :menu-tag "Default Foreground Gray/Color" (const :tag "Session Foreground" t) (const :tag "Frame Foreground" frame-parameter) (number :tag "Gray Scale" :value 0.0) (string :tag "Color Name" :value "black") (list :tag "RGB Color" :value (0.0 0.0 0.0) (number :tag "Red") (number :tag "Green") (number :tag "Blue")) (other :tag "Default Foreground Gray/Color" nil)) ps-default-bg #[0 "\300\207" [nil] 1] "RGB values of the default background color.\n\nThe `ps-default-bg' variable contains the default background color used by\nps-print, that is, if there is a face in a text that doesn't have a background\ncolor, the `ps-default-bg' color should be used.\n\nValid values are:\n\n t The background color of Emacs session will be used.\n\n frame-parameter The background-color frame parameter will be used.\n\n NUMBER It's a real value between 0.0 (black) and 1.0 (white) that\n indicate the gray color.\n\n COLOR-NAME It's a string which contains the color name. For example:\n \"yellow\".\n\n LIST It's a list of RGB values, that is a list of three real values\n of the form:\n\n (RED GREEN BLUE)\n\n Where RED, GREEN and BLUE are reals between 0.0 (no color) and\n 1.0 (full color).\n\nAny other value is ignored and white color will be used.\n\nThis variable is used only when `ps-print-color-p' (which see) is neither nil\nnor black-white.\n\nSee also `ps-use-face-background'." (choice :menu-tag "Default Background Gray/Color" (const :tag "Session Background" t) (const :tag "Frame Background" frame-parameter) (number :tag "Gray Scale" :value 1.0) (string :tag "Color Name" :value "white") (list :tag "RGB Color" :value (1.0 1.0 1.0) (number :tag "Red") (number :tag "Green") (number :tag "Blue")) (other :tag "Default Background Gray/Color" nil)) ps-fg-list #[0 "\300\207" [nil] 1] "Specify foreground color list.\n\nThis list is used to chose a text foreground color which is different from the\nbackground color. It'll be used the first foreground color in `ps-fg-list'\nwhich is different from the background color.\n\nIf this list is nil, the default foreground color is used. See\n`ps-default-fg'.\n\nThe list element valid values are:\n\n NUMBER It's a real value between 0.0 (black) and 1.0 (white) that\n indicate the gray color.\n\n COLOR-NAME It's a string which contains the color name. For example:\n \"yellow\".\n\n LIST It's a list of RGB values, that is a list of three real values\n of the form:\n\n (RED GREEN BLUE)\n\n Where RED, GREEN and BLUE are reals between 0.0 (no color) and\n 1.0 (full color).\n\nAny other value is ignored and black color will be used.\n\nThis variable is used only when `ps-fg-validate-p' (which see) is non-nil and\nwhen `ps-print-color-p' (which see) is neither nil nor black-white." (repeat (choice :menu-tag "Foreground Gray/Color" :tag "Foreground Gray/Color" (number :tag "Gray Scale" :value 0.0) (string :tag "Color Name" :value "black") (list :tag "RGB Color" :value (0.0 0.0 0.0) (number :tag "Red") (number :tag "Green") (number :tag "Blue")))) "22" ps-fg-validate-p #[0 "\300\207" [t] 1] "Non-nil means validate if foreground color is different than background.\n\nIf text foreground and background colors are equals, no text will appear.\n\nSee also `ps-fg-list'." ps-auto-font-detect #[0 "\300\207" [t] 1] "Non-nil means automatically detect bold/italic/underline face attributes.\nIf nil, we rely solely on the lists `ps-bold-faces', `ps-italic-faces', and\n`ps-underlined-faces'." ps-black-white-faces #[0 "\300\207" [((font-lock-builtin-face "black" nil bold) (font-lock-comment-face "gray20" nil italic) (font-lock-constant-face "black" nil bold) (font-lock-function-name-face "black" nil bold) (font-lock-keyword-face "black" nil bold) (font-lock-string-face "black" nil italic) (font-lock-type-face "black" nil italic) (font-lock-variable-name-face "black" nil bold italic) (font-lock-warning-face "black" nil bold italic))] 1] "Specify list of face attributes to print colors on black/white printers.\n\nThe list elements are the same as defined on `ps-extend-face' (which see).\n\nThis variable is used only when `ps-print-color-p' is set to `black-white'." (repeat (list :tag "Face Specification" (face :tag "Face Symbol") (choice :menu-tag "Foreground Color" :tag "Foreground Color" (const :tag "Black" nil) (string :tag "Color Name")) (choice :menu-tag "Background Color" :tag "Background Color" (const :tag "None" nil) (string :tag "Color Name")) (repeat :inline t (choice :menu-tag "Attribute" (const bold) (const italic) (const underline) (const strikeout) (const overline) (const shadow) (const box) (const outline))))) ps-bold-faces #[0 "?\205 \301\207" [ps-print-color-p (font-lock-function-name-face font-lock-builtin-face font-lock-variable-name-face font-lock-keyword-face font-lock-warning-face)] 1] "A list of the (non-bold) faces that should be printed in bold font.\nThis applies to generating PostScript." (repeat face) ps-italic-faces #[0 "?\205 \301\207" [ps-print-color-p (font-lock-variable-name-face font-lock-type-face font-lock-string-face font-lock-comment-face font-lock-warning-face)] 1] "A list of the (non-italic) faces that should be printed in italic font.\nThis applies to generating PostScript." (repeat face) ps-underlined-faces #[0 "?\205 \301\207" [ps-print-color-p (font-lock-function-name-face font-lock-constant-face font-lock-warning-face)] 1] "A list of the (non-underlined) faces that should be printed underlined.\nThis applies to generating PostScript." (repeat face) ps-use-face-background #[0 "\300\207" [nil] 1] "Specify if face background should be used.\n\nValid values are:\n\n t always use face background color.\n nil never use face background color.\n (face...) list of faces whose background color will be used.\n\nAny other value will be treated as t." (choice :menu-tag "Use Face Background" :tag "Use Face Background" (const :tag "Always Use Face Background" t) (const :tag "Never Use Face Background" nil) (repeat :menu-tag "Face Background List" :tag "Face Background List" face)) ps-left-header #[0 "\300\301D\207" [ps-get-buffer-name ps-header-dirpart] 2] "The items to display (each on a line) on the left part of the page header.\nThis applies to generating PostScript.\n\nThe value should be a list of strings and symbols, each representing an entry\nin the PostScript array HeaderLinesLeft.\n\nStrings are inserted unchanged into the array; those representing\nPostScript string literals should be delimited with PostScript string\ndelimiters `(' and `)'.\n\nFor symbols with bound functions, the function is called and should return a\nstring to be inserted into the array. For symbols with bound values, the value\nshould be a string to be inserted into the array. In either case, function or\nvariable, the string value has PostScript string delimiters added to it.\n\nIf symbols are unbounded, they are silently ignored." (repeat (choice :menu-tag "Left Header" :tag "Left Header" string symbol)) ps-right-header #[0 "\300\301\302E\207" ["/pagenumberstring load" ps-time-stamp-locale-default ps-time-stamp-hh:mm:ss] 3] "The items to display (each on a line) on the right part of the page header.\nThis applies to generating PostScript.\n\nSee the variable `ps-left-header' for a description of the format of this\nvariable.\n\nThere are the following basic functions implemented:\n\n `ps-time-stamp-locale-default' Return the locale's \"preferred\" date\n as, for example, \"06/18/01\".\n\n `ps-time-stamp-hh:mm:ss' Return time as \"17:28:31\".\n\n `ps-time-stamp-mon-dd-yyyy' Return date as \"Jun 18 2001\".\n\n `ps-time-stamp-yyyy-mm-dd' Return date as \"2001-06-18\" (ISO\n date).\n\n `ps-time-stamp-iso8601' Alias for `ps-time-stamp-yyyy-mm-dd'.\n\nYou can also create your own time stamp function by using `format-time-string'\n(which see)." (repeat (choice :menu-tag "Right Header" :tag "Right Header" string symbol)) ps-left-footer #[0 "\300\301D\207" [ps-get-buffer-name ps-header-dirpart] 2] "The items to display (each on a line) on the left part of the page footer.\nThis applies to generating PostScript.\n\nThe value should be a list of strings and symbols, each representing an entry\nin the PostScript array FooterLinesLeft.\n\nStrings are inserted unchanged into the array; those representing PostScript\nstring literals should be delimited with PostScript string delimiters `(' and\n`)'.\n\nFor symbols with bound functions, the function is called and should return a\nstring to be inserted into the array. For symbols with bound values, the value\nshould be a string to be inserted into the array. In either case, function or\nvariable, the string value has PostScript string delimiters added to it.\n\nIf symbols are unbounded, they are silently ignored." (repeat (choice :menu-tag "Left Footer" :tag "Left Footer" string symbol)) ps-right-footer #[0 "\300\301\302E\207" ["/pagenumberstring load" ps-time-stamp-locale-default ps-time-stamp-hh:mm:ss] 3] "The items to display (each on a line) on the right part of the page footer.\nThis applies to generating PostScript.\n\nSee the variable `ps-left-footer' for a description of the format of this\nvariable.\n\nThere are the following basic functions implemented:\n\n `ps-time-stamp-locale-default' Return the locale's \"preferred\" date\n as, for example, \"06/18/01\".\n\n `ps-time-stamp-hh:mm:ss' Return time as \"17:28:31\".\n\n `ps-time-stamp-mon-dd-yyyy' Return date as \"Jun 18 2001\".\n\n `ps-time-stamp-yyyy-mm-dd' Return date as \"2001-06-18\" (ISO\n date).\n\n `ps-time-stamp-iso8601' Alias for `ps-time-stamp-yyyy-mm-dd'.\n\nYou can also create your own time stamp function by using `format-time-string'\n(which see)." (repeat (choice :menu-tag "Right Footer" :tag "Right Footer" string symbol)) ps-razzle-dazzle #[0 "\300\207" [t] 1] "Non-nil means report progress while formatting buffer." ps-adobe-tag #[0 "\300\207" [#4="%!PS-Adobe-3.0\n"] 1 #4#] "Contains the header line identifying the output as PostScript.\nBy default, `ps-adobe-tag' contains the standard identifier. Some printers\nrequire slightly different versions of this line." ps-build-face-reference #[0 "\300\207" [t] 1] "Non-nil means build the reference face lists.\n\nps-print sets this value to nil after it builds its internal reference lists of\nbold and italic faces. By setting its value back to t, you can force ps-print\nto rebuild the lists the next time you invoke one of the ...-with-faces\ncommands.\n\nYou should set this value back to t after you change the attributes of any\nface, or create new faces. Most users shouldn't have to worry about its\nsetting, though." ps-always-build-face-reference #[0 "\300\207" [nil] 1] "Non-nil means always rebuild the reference face lists.\n\nIf this variable is non-nil, ps-print will rebuild its internal reference lists\nof bold and italic faces *every* time one of the ...-with-faces commands is\ncalled. Most users shouldn't need to set this variable." ps-banner-page-when-duplexing #[0 "\300\207" [nil] 1] "Non-nil means the very first page is skipped.\nIt's like the very first character of buffer (or region) is ^L (\\014)." ps-postscript-code-directory #[0 "\207" [data-directory] 1] "Directory where it's located the PostScript prologue file used by ps-print.\nBy default, this directory is the same as in the variable `data-directory'." directory ps-line-spacing #[0 "\300\207" [0] 1] "Specify line spacing, in points, for ordinary text.\n\nEither a float or a cons of floats (LANDSCAPE-SIZE . PORTRAIT-SIZE).\n\nSee also `ps-paragraph-spacing' and `ps-paragraph-regexp'.\n\nTo get all lines with some spacing set both `ps-line-spacing' and\n`ps-paragraph-spacing' variables." (choice :menu-tag "Line Spacing For Ordinary Text" :tag "Line Spacing For Ordinary Text" (number :tag "Line Spacing") (cons :tag "Landscape/Portrait" (number :tag "Landscape Line Spacing") (number :tag "Portrait Line Spacing"))) ps-paragraph-spacing #[0 "\300\207" [0] 1] "Specify paragraph spacing, in points, for ordinary text.\n\nEither a float or a cons of floats (LANDSCAPE-SIZE . PORTRAIT-SIZE).\n\nSee also `ps-line-spacing' and `ps-paragraph-regexp'.\n\nTo get all lines with some spacing set both `ps-line-spacing' and\n`ps-paragraph-spacing' variables." (choice :menu-tag "Paragraph Spacing For Ordinary Text" :tag "Paragraph Spacing For Ordinary Text" (number :tag "Paragraph Spacing") (cons :tag "Landscape/Portrait" (number :tag "Landscape Paragraph Spacing") (number :tag "Portrait Paragraph Spacing"))) ps-paragraph-regexp #[0 "\300\207" [#5="[ ]*$"] 1 #5#] "Specify paragraph delimiter.\n\nIt should be a regexp or nil.\n\nSee also `ps-paragraph-spacing'." (choice :menu-tag "Paragraph Delimiter" (const :tag "No Delimiter" nil) (regexp :tag "Delimiter Regexp")) ps-begin-cut-regexp #[0 "\300\207" [nil] 1] "Specify regexp which is start of a region to cut out when printing.\n\nAs an example, variables `ps-begin-cut-regexp' and `ps-end-cut-regexp' may be\nset to \"^Local Variables:\" and \"^End:\", respectively, in order to leave out\nsome special printing instructions from the actual print. Special printing\ninstructions may be appended to the end of the file just like any other\nbuffer-local variables. See section \"Local Variables in Files\" on Emacs\nmanual for more information.\n\nVariables `ps-begin-cut-regexp' and `ps-end-cut-regexp' control together what\nactually gets printed. Both variables may be set to nil in which case no\ncutting occurs." (choice (const :tag "No Delimiter" nil) (regexp :tag "Delimiter Regexp")) ps-end-cut-regexp #[0 "\300\207" [nil] 1] "Specify regexp which is end of the region to cut out when printing.\n\nSee `ps-begin-cut-regexp' for more information." (choice (const :tag "No Delimiter" nil) (regexp :tag "Delimiter Regexp"))] 14) #@35 Latest `ps-selected-pages' value. (defvar ps-last-selected-pages nil (#$ . 65061)) #@43 Restore latest `ps-selected-pages' value. (defalias 'ps-restore-selected-pages #[0 "\211\207" [ps-last-selected-pages ps-selected-pages] 2 (#$ . 65150) nil]) #@34 Customization of ps-print group. (defalias 'ps-print-customize #[0 "\300\301!\207" [customize-group ps-print] 2 (#$ . 65316) nil]) #@466 Generate and print a PostScript image of the buffer. Interactively, when you use a prefix argument (\[universal-argument]), the command prompts the user for a file name, and saves the PostScript image in that file instead of sending it to the printer. Noninteractively, the argument FILENAME is treated as follows: if it is nil, send the image to the printer. If FILENAME is a string, save the PostScript image in a file with that name. (fn &optional FILENAME) (defalias 'ps-print-buffer #[256 "\300ed#\207" [ps-print-without-faces] 5 (#$ . 65454) (byte-code "\301!C\207" [current-prefix-arg ps-print-preprint] 2)]) #@281 Generate and print a PostScript image of the buffer. Like `ps-print-buffer', but includes font, color, and underline information in the generated image. This command works only if you are using a window system, so it has a way to determine color values. (fn &optional FILENAME) (defalias 'ps-print-buffer-with-faces #[256 "\300ed#\207" [ps-print-with-faces] 5 (#$ . 66083) (byte-code "\301!C\207" [current-prefix-arg ps-print-preprint] 2)]) #@147 Generate and print a PostScript image of the region. Like `ps-print-buffer', but prints just the current region. (fn FROM TO &optional FILENAME) (defalias 'ps-print-region #[770 "\300\301$\207" [ps-print-without-faces t] 8 (#$ . 66535) (ps-print-preprint-region current-prefix-arg)]) #@289 Generate and print a PostScript image of the region. Like `ps-print-region', but includes font, color, and underline information in the generated image. This command works only if you are using a window system, so it has a way to determine color values. (fn FROM TO &optional FILENAME) (defalias 'ps-print-region-with-faces #[770 "\300\301$\207" [ps-print-with-faces t] 8 (#$ . 66830) (ps-print-preprint-region current-prefix-arg)]) #@243 Generate and spool a PostScript image of the buffer. Like `ps-print-buffer' except that the PostScript image is saved in a local buffer to be sent to the printer later. Use the command `ps-despool' to send the spooled images to the printer. (defalias 'ps-spool-buffer #[0 "\300ed\"\207" [ps-spool-without-faces] 3 (#$ . 67275) nil]) #@341 Generate and spool a PostScript image of the buffer. Like the command `ps-spool-buffer', but includes font, color, and underline information in the generated image. This command works only if you are using a window system, so it has a way to determine color values. Use the command `ps-despool' to send the spooled images to the printer. (defalias 'ps-spool-buffer-with-faces #[0 "\300ed\"\207" [ps-spool-with-faces] 3 (#$ . 67616) nil]) #@209 Generate a PostScript image of the region and spool locally. Like `ps-spool-buffer', but spools just the current region. Use the command `ps-despool' to send the spooled images to the printer. (fn FROM TO) (defalias 'ps-spool-region #[514 "\300\301#\207" [ps-spool-without-faces t] 6 (#$ . 68063) "r"]) #@351 Generate a PostScript image of the region and spool locally. Like `ps-spool-region', but includes font, color, and underline information in the generated image. This command works only if you are using a window system, so it has a way to determine color values. Use the command `ps-despool' to send the spooled images to the printer. (fn FROM TO) (defalias 'ps-spool-region-with-faces #[514 "\300\301#\207" [ps-spool-with-faces t] 6 (#$ . 68377) "r"]) #@465 Send the spooled PostScript to the printer. Interactively, when you use a prefix argument (\[universal-argument]), the command prompts the user for a file name, and saves the spooled PostScript image in that file instead of sending it to the printer. Noninteractively, the argument FILENAME is treated as follows: if it is nil, send the image to the printer. If FILENAME is a string, save the PostScript image in a file with that name. (fn &optional FILENAME) (defalias 'ps-despool #[256 "\300!\207" [ps-do-despool] 3 (#$ . 68841) (byte-code "\301!C\207" [current-prefix-arg ps-print-preprint] 2)]) #@186 Display the correspondence between a line length and a font size. Done using the current ps-print setup. Try: pr -t file | awk \='{printf "%3d %s ", length($0), $0}\=' | sort -r | head (defalias 'ps-line-lengths #[0 "\300 \207" [ps-line-lengths-internal] 1 (#$ . 69453) nil]) #@137 Display number of pages to print this buffer, for various font heights. The table depends on the current ps-print setup. (fn NB-LINES) (defalias 'ps-nb-pages-buffer #[257 "\300!\207" [ps-nb-pages] 3 (#$ . 69736) (byte-code "\300ed\"\207" [ps-count-lines-preprint] 3)]) #@136 Display number of pages to print the region, for various font heights. The table depends on the current ps-print setup. (fn NB-LINES) (defalias 'ps-nb-pages-region #[257 "\300!\207" [ps-nb-pages] 3 (#$ . 70014) (byte-code "\300\301 `\"\207" [ps-count-lines-preprint mark] 3)]) #@40 Used for `ps-print-quote' (which see). (defvar ps-prefix-quote nil (#$ . 70299)) #@49 Return the current PostScript-generation setup. (defalias 'ps-setup #[0 "\304\305\306\307 \310Q\311\312\313\n\"\312\314\"\304\315\316\317\320\321\322\323\324\304\325\326\327\330\331\304\332\333\334\335\336\337\340\304\341\342\343\344\345\304\346\304\347\304\350\304\351\304\352\353\354\355\356\304\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377\201@ \201A \201B \201C \201D \201E \201F \201G \201H \201I \201J \304\201K \201L \201M \201N \304\201O \201P \201Q \201R \201S \201T \201U \201V \201W \201X \201Y \201Z \201[ \201\\ \201] \201^ \304\201_ \201` \201a \304\201b \201c \304\201d \201e \201f \201g \201h \201i \257p\310#)\207" [ps-prefix-quote ps-print-version emacs-version lpr-windows-system nil mapconcat ps-print-quote "\n;;; (Emacs) ps-print version " "\n" ";; internal vars" ps-comment-string "emacs-version " "lpr-windows-system" (25 . ps-print-color-p) (25 . ps-lpr-command) (25 . ps-lpr-switches) (25 . ps-printer-name) (25 . ps-printer-name-option) (25 . ps-print-region-function) (25 . ps-manual-feed) (25 . ps-end-with-control-d) (23 . ps-paper-type) (23 . ps-warn-paper-type) (23 . ps-landscape-mode) (23 . ps-print-upside-down) (23 . ps-number-of-columns) (23 . ps-zebra-stripes) (23 . ps-zebra-stripe-height) (23 . ps-zebra-stripe-follow) (23 . ps-zebra-color) (23 . ps-line-number) (23 . ps-line-number-step) (23 . ps-line-number-start) (17 . ps-razzle-dazzle) (17 . ps-default-bg) (17 . ps-default-fg) (17 . ps-fg-validate-p) (17 . ps-fg-list) (23 . ps-use-face-background) (28 . ps-print-control-characters) (26 . ps-print-background-image) (25 . ps-print-background-text) (29 . ps-error-handler-message) (29 . ps-user-defined-prologue) (29 . ps-print-prologue-header) (29 . ps-postscript-code-directory) (29 . ps-adobe-tag) (30 . ps-left-margin) (30 . ps-right-margin) (30 . ps-inter-column) (30 . ps-bottom-margin) (30 . ps-top-margin) (30 . ps-print-only-one-header) (30 . ps-switch-header) (30 . ps-print-header) (30 . ps-header-lines) (30 . ps-header-offset) (30 . ps-header-line-pad) (30 . ps-print-header-frame) (30 . ps-header-frame-alist) (30 . ps-print-footer) (30 . ps-footer-lines) (30 . ps-footer-offset) (30 . ps-footer-line-pad) (30 . ps-print-footer-frame) (30 . ps-footer-frame-alist) (30 . ps-show-n-of-n) (30 . ps-spool-config) (30 . ps-spool-duplex) (30 . ps-spool-tumble) (30 . ps-banner-page-when-duplexing) (30 . ps-left-header) (30 . ps-right-header) (30 . ps-left-footer) (30 . ps-right-footer) (23 . ps-n-up-printing) (23 . ps-n-up-margin) (23 . ps-n-up-border-p) (23 . ps-n-up-filling) (26 . ps-multibyte-buffer) (26 . ps-font-family) (26 . ps-font-size) (26 . ps-header-font-family) (26 . ps-header-font-size) (26 . ps-header-title-font-size) (26 . ps-footer-font-family) (26 . ps-footer-font-size) (26 . ps-line-number-color) (26 . ps-line-number-font) (26 . ps-line-number-font-size) (26 . ps-line-spacing) (26 . ps-paragraph-spacing) (26 . ps-paragraph-regexp) (26 . ps-begin-cut-regexp) (26 . ps-end-cut-regexp) (23 . ps-even-or-odd-pages) (23 . ps-selected-pages) (23 . ps-last-selected-pages) (31 . ps-build-face-reference) (31 . ps-always-build-face-reference) (20 . ps-auto-font-detect) (20 . ps-bold-faces) (20 . ps-italic-faces) (20 . ps-underlined-faces) (20 . ps-black-white-faces) " )\n\n;; The following customized variables have long lists and are seldom modified:\n;; ps-page-dimensions-database\n;; ps-font-info-database\n\n;;; ps-print - end of settings\n"] 114 (#$ . 70386)]) #@711 Quote ELT for printing (used for showing settings). If ELT is nil, return an empty string. If ELT is string, return it. Otherwise, ELT should be a cons (LEN . SYM) where SYM is a variable symbol and LEN is the field length where SYM name will be inserted. The variable `ps-prefix-quote' is used to form the string, if `ps-prefix-quote' is nil, it's used "(setq " as prefix; otherwise, it's used " ". So, the string generated is: * If `ps-prefix-quote' is nil: "(setq SYM-NAME SYM-VALUE" |<------->| LEN * If `ps-prefix-quote' is non-nil: " SYM-NAME SYM-VALUE" |<------->| LEN If `ps-prefix-quote' is nil, it's set to t after generating string. (fn ELT) (defalias 'ps-print-quote #[257 "\211;\203 \207\211:\203L \211@\250\203L \211A9\203L \301A!\203L \211@A\302!\211GJ\2031 \303\2024 \304\305V\203F \306Z\307\"\202G \310\311!R\207\312\207" [ps-prefix-quote boundp symbol-name " " t "(setq " make-string 32 " " ps-value-string ""] 11 (#$ . 73879)]) #@77 Return a string representation of VAL. Used by `ps-print-quote'. (fn VAL) (defalias 'ps-value-string #[257 "\211\204 \300\207\211\301=\203 \302\207\2119\204 \211<\203 \303\304\"\207\303\305\"\207" ["nil" t "t" format "'%S" "%S"] 4 (#$ . 74909)]) #@64 Return a comment string like ";; STR = VALUE". (fn STR VALUE) (defalias 'ps-comment-string #[514 "\300\301\302!#\207" [format ";; %s = %s" ps-value-string] 7 (#$ . 75169)]) #@92 Return value from association list ALIST-SYM which car is `eq' to KEY. (fn ALIST-SYM KEY) (defalias 'ps-value #[514 "\211J\236A\207" [] 4 (#$ . 75351)]) #@94 Return element from association list ALIST-SYM which car is `eq' to KEY. (fn ALIST-SYM KEY) (defalias 'ps-get #[514 "\211J\236\207" [] 4 (#$ . 75512)]) (make-obsolete 'ps-get 'alist-get "25.1") #@196 Store element (KEY . VALUE) into association list ALIST-SYM. If KEY already exists in ALIST-SYM, modify cdr to VALUE. It can be retrieved with `(ps-get ALIST-SYM KEY)'. (fn ALIST-SYM KEY VALUE) (defalias 'ps-put #[771 "J\236\211\203 \211\241\210\202 B\262JBL\210\211\207" [] 7 (#$ . 75715)]) (make-obsolete 'ps-put "use (setf (alist-get ..) ..) instead" "25.1") #@88 Delete by side effect element KEY from association list ALIST-SYM. (fn ALIST-SYM KEY) (defalias 'ps-del #[514 "J\300\2030 @@=\203&