Server IP : 111.118.215.189 / Your IP : 3.135.210.146 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:28 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/ps-print.el ;;; in Emacs version 24.3.1 ;;; 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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@367 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 Vinicius Jose Latorre <viniciusjl@ig.com.br>. (defconst ps-print-version "7.3.5" (#$ . 552)) (byte-code "\301\302!\210\303\300!\203 \304Y\204 \305\306!\210\301\207" [emacs-major-version require lpr boundp 23 error "`ps-print' only supports Emacs 23 and higher"] 2) (defconst ps-windows-system (memq system-type '(ms-dos windows-nt))) (defconst ps-lp-system (memq system-type '(usg-unix-v hpux irix))) (byte-code "\300\301!\210\302\303\304\305\306\307\310\311\312\313& \210\302\314\304\315\316\317\320\321\310\311\312\322\312\303& \210\302\323\304\324\320\321\306\325\310\311\312\314&\210\302\326\304\327\320\321\306\330\310\311\312\314&\210\302\331\304\332\320\321\306\333\310\311\312\314&\210\302\334\304\335\320\321\306\336\310\311\312\314&\210\302\337\304\340\320\321\306\341\310\311\312\314&\210\302\342\304\343\320\321\306\344\310\311\312\314\312\345& \210\302\346\304\347\320\321\306\350\310\311\312\314&\210\302\351\304\352\320\321\306\353\310\311\312\314&\210\302\354\304\355\320\321\306\356\310\311\312\314&\210\302\357\360\361\320\321\306\362\310\311\312\314&\210\302\363\304\364\320\321\306\365\310\311\312\314&\210\302\366\304\367\320\321\306\370\310\311\312\314&\210\371\372\373\374\375\376\310\311\312\366& \210\371\377\304\201@ \375\201A \310\311\312\366& \210\371\201B \304\201C \375\201D \310\311\312\366& \210\371\201E \201F \201G \375\201H \310\311\312\357& \210\371\201I \201J \201K \375\201L \310\201M \312\357& \210\371\201N \201O \201P \375\201Q \310\311\312\357& \210\371\201R \201S \201T \375\201U \310\311\312\357& \210\371\201V \304\201W \375\201X \310\311\312\357& \210\371\201Y \304\201Z \375\201[ \310\311\312\357& \210\371\201\\ \201] \201^ \310\201M \375\201[ \310\311\312\357&\210\371\201_ \201` \201a \375\201b \310\311\312\363& \210\371\201c \201d \201e \375\201f \310\311\312\363& \210\371\201g \201h \201i \375\201[ \310\311\312\363& \210\371\201j \304\201k \375\201[ \310\311\312\363& \210\371\201l \304\201m \375\201[ \310\201M \312\363& \210\371\201n \304\201o \375\201p \310\311\312\363& \210\371\201q \304\201r \375\201s \310\311\312\363& \210\371\201t \201u \201v \375\201w \310\311\312\366& \210\371\201x \201y \201z \375\201{ \310\311\312\346& \210\371\201| \201} \201~ \375\201 \310\311\312\346& \210\371\201\200 \201h \201\201 \375\201[ \310\311\312\346& \210\371\201\202 \201\203 \201\204 \375\201\205 \310\311\312\346& \210\371\201\206 \201\207 \201\210 \375\201 \310\311\312\366& \210\371\201\211 \304\201\212 \375\201[ \310\311\312\351& \210\371\201\213 \201\214 \201\215 \375\201 \310\311\312\351& \210\371\201\216 \201\217 \201\220 \375\201\221 \310\311\312\351& \210\371\201\222 \304\201\223 \375\201\224 \310\311\312\351& \210\371\201\225 \304\201\226 \375\201[ \310\311\312\366& \210\371\201\227 \201y \201\230 \375\201\231 \310\311\312\366& \210\371\201\232 \201y \201\233 \375\201\234 \310\311\312\366& \210\371\201\235 \304\201\236 \375\201\237 \310\311\312\354& \210\371\201\240 \304\201\241 \375\201\242 \310\311\312\354& \210\371\201\243 \201\244 \201\245 \375\201 \310\311\312\323& \210\371\201\246 \201\247 \201\250 \375\201 \310\311\312\323& \210\371\201\251 \201\252 \201\253 \375\201 \310\311\312\323& \210\371\201\254 \201\255 \201\256 \375\201 \310\311\312\326& \210\371\201\257 \201\260 \201\261 \375\201 \310\311\312\326& \210\371\201\262 \201\263 \201\264 \375\201 \310\311\312\326& \210\371\201\265 \201\266 \201\267 \375\201 \310\311\312\326& \210\371\201\270 \201\271 \201\272 \375\201 \310\311\312\326& \210\371\201\273 \201\274 \201\275 \375\201 \310\311\312\326& \210\371\201\276 \201h \201\277 \375\201[ \310\311\312\331& \210\371\201\300 \201h \201\301 \375\201[ \310\311\312\331& \210\371\201\302 \201\303 \201\304 \310\201M \375\201\305 \310\311\312\331&\210\371\201\306 \201\307 \201\310 \375\201\311 \310\311\312\331& \210\371\201\312 \304\201\313 \375\201[ \310\201M \312\331& \210\371\201\314 \201h \201\315 \375\201[ \310\201M \312\331& \210\371\201\316 \201\317 \201\320 \375\201\321 \310\201M \312\331& \210\371\201\322 \201\307 \201\323 \375\201\311 \310\201M \312\331& \210\371\201\324 \304\201\325 \375\201[ \310\311\312\331& \210\371\201\326 \201\327 \201\330 \375\201\331 \310\311\312\331& \210\371\201\332 \201h \201\333 \375\201[ \310\311\312\331& \210\371\201\334 \201\335 \201\336 \375\201\337 \310\311\312\331& \210\371\201\340 \304\201\341 \375\201[ \310\311\312\331& \210\371\201\342 \304\201\343 \375\201[ \310\311\312\331& \210\371\201\344 \201\345 \201\346 \375\201\347 \310\311\312\334& \210\371\201\350 \201\351 \201\352 \375\201\353 \310\311\312\334& \210\371\201\354 \201\355 \201\356 \375\201\357 \310\311\312\334& \210\371\201\360 \201\361 \201\362 \375\201\353 \310\311\312\334& \210\371\201\363 \201\364 \201\365 \375\201\366 \310\311\312\334& \210\371\201\367 \201\370 \201\371 \375\201\372 \310\311\312\334& \210\371\201\373 \201\374 \201\375 \375\201\353 \310\201M \312\334& \210\371\201\376 \201\377 \201 \375\201\310\201M \312\334& \210\371\201\201\201\375\201\310\201M \312\334\312\366&\210\371\201\201\201\375\201Q \310\311\312\334\312\366&\210\371\201 \201\n\201\375\201\f\310\311\312\334\312\366&\210\371\201 \201\201\375\201\310\311\312\337& \210\371\201\304\201\375\201\310\311\312\337& \210\371\201\304\201\375\201\310\311\312\337& \210\371\201\304\201\375\201\310\201\312\337& \210\371\201\201h \201\375\201[ \310\201\312\337& \210\371\201\201h \201\375\201[ \310\311\312\334& \210\371\201\201 \201!\310\201M \375\201\"\310\311\312\342&\210\371\201#\201$\201%\375\201&\310\311\312\342& \210\371\201'\201(\201)\375\201*\310\311\312\342& \210\371\201+\201,\201-\375\201.\310\311\312\342& \210\371\201/\304\2010\375\2011\310\311\312\342& \210\371\2012\2013\2014\375\2015\310\311\312\331& \210\371\2016\2017\2018\375\2019\310\311\312\331& \210\371\201:\201;\201<\375\201=\310\201M \312\331& \210\371\201>\201?\201@\375\201A\310\201M \312\331& \210\371\201B\201h \201C\375\201[ \310\311\312\366& \210\371\201D\201E\201F\375\201Q \310\311\312\366& \210\371\201G\201h \201H\375\201[ \310\311\312\342& \210\371\201I\304\201J\375\201[ \310\311\312\342& \210\371\201K\304\201L\375\201[ \310\311\312\331& \210\371\201M\201N\201O\375\201P\310\311\312\366& \210\371\201Q\201R\201S\375\201T\310\201M \312\366& \210\371\201U\201R\201V\375\201W\310\201M \312\366& \210\371\201X\201Y\201Z\375\201[\310\201M \312\366& \210\371\201\\\304\201]\375\201^\310\201M \312\366& \210\371\201_\304\201`\375\201a\310\201M \312\366& \207" [require ps-def 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-" wp 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 'paper "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 "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 "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 (and (boundp 'printer-name) (symbol-value 'printer-name)) "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 (cond (ps-windows-system "/D:") (ps-lp-system "-d") (t "-P")) "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\nAny value that is not a string is treated as nil.\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 lpr-command "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 lpr-switches "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 "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." (choice (const nil) function) ps-manual-feed "Non-nil means the printer will manually feed paper.\n\nIf it's nil, automatic feeding takes place." boolean ps-end-with-control-d (and ps-windows-system t) "Non-nil means insert C-d at end of PostScript file generated." ps-page-dimensions-database (purecopy (list (list 'a4 (/ (* 72 21.0) 2.54) (/ (* 72 29.7) 2.54) "A4") (list 'a3 (/ (* 72 29.7) 2.54) (/ (* 72 42.0) 2.54) "A3") (list 'letter (* 72 8.5) (* 72 11.0) "Letter") (list 'legal (* 72 8.5) (* 72 14.0) "Legal") (list 'letter-small (* 72 7.68) (* 72 10.16) "LetterSmall") (list 'tabloid (* 72 11.0) (* 72 17.0) "Tabloid") (list 'ledger (* 72 17.0) (* 72 11.0) "Ledger") (list 'statement (* 72 5.5) (* 72 8.5) "Statement") (list 'executive (* 72 7.5) (* 72 10.0) "Executive") (list 'a4small (* 72 7.47) (* 72 10.85) "A4Small") (list 'b4 (* 72 10.125) (* 72 14.33) "B4") (list 'b5 (* 72 7.16) (* 72 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"))) "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 'letter "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 t "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 "Non-nil means print in landscape mode." ps-print-upside-down "Non-nil means print upside-down (that is, rotated by 180 degrees)." ps-selected-pages "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 "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 `ps-selected-pages' (see it for documentation), first the pages are\nfiltered by `ps-selected-pages' and then by `ps-even-or-odd-pages'. For\nexample, 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 `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 'control-8-bit "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 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 (/ (* 72 1.0) 2.54) "Specify the margin in points between the sheet border and n-up printing." number ps-n-up-border-p "Non-nil means a border is drawn around each page." ps-n-up-filling 'left-top "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 (if ps-landscape-mode 2 1) "Specify the number of columns." ps-zebra-stripes "Non-nil means print zebra stripes.\nSee also documentation for `ps-zebra-stripe-height' and `ps-zebra-color'." ps-zebra-stripe-height 3 "Number of zebra stripe lines.\nSee also documentation for `ps-zebra-stripes' and `ps-zebra-color'." ps-zebra-color 0.95 "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 "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 "Non-nil means print line number." ps-line-number-step "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 "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-strip-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 "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 do:\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 "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 do:\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 (/ (* 72 2.0) 2.54) "Left margin in points (1/72 inch)." ps-right-margin (/ (* 72 2.0) 2.54) "Right margin in points (1/72 inch)." ps-inter-column (/ (* 72 2.0) 2.54) "Horizontal space between columns in points (1/72 inch)." ps-bottom-margin (/ (* 72 1.5) 2.54) "Bottom margin in points (1/72 inch)." ps-top-margin (/ (* 72 1.5) 2.54) "Top margin in points (1/72 inch)." ps-header-offset (/ (* 72 1.0) 2.54) "Vertical space in points (1/72 inch) between the main text and the header." ps-header-line-pad 0.15 "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 (/ (* 72 1.0) 2.54) "Vertical space in points (1/72 inch) between the main text and the footer." ps-footer-line-pad 0.15 "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 "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 "Non-nil means draw a gaudy frame around the header." ps-header-frame-alist '((fore-color . 0.0) (back-color . 0.9) (border-width . 0.4) (border-color . 0.0) (shadow-color . 0.0)) "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 2 "Number of lines to display in page header, when generating PostScript." integer ps-print-footer "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 "Non-nil means draw a gaudy frame around the footer." ps-footer-frame-alist '((fore-color . 0.0) (back-color . 0.9) (border-width . 0.4) (border-color . 0.0) (shadow-color . 0.0)) "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 "Number of lines to display in page footer, when generating PostScript." ps-print-only-one-header "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 'duplex "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 "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 (if ps-windows-system nil 'lpr-switches) "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 "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 "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 '((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))) "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 'Courier "Font family name for ordinary text, when generating PostScript." symbol ps-font-size '(7 . 8.5) "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 'Helvetica "Font family name for text in the header, when generating PostScript." ps-header-font-size '(10 . 12) "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 '(12 . 14) "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 'Helvetica "Font family name for text in the footer, when generating PostScript." ps-footer-font-size '(10 . 12) "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 "black" "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 "Times-Italic" "Font for line-number, when generating PostScript." ps-line-number-font-size 6 "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 (or (fboundp 'x-color-values) (fboundp 'color-instance-rgb-components)) "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 "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" :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"))) ps-default-bg "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" :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"))) ps-fg-list "Specify foreground color list.\n\nThis list is used to chose a text foreground color which is different than 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 "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 "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 '((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)) "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 (unless 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)) "A list of the (non-bold) faces that should be printed in bold font.\nThis applies to generating PostScript." (repeat face) ps-italic-faces (unless 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)) "A list of the (non-italic) faces that should be printed in italic font.\nThis applies to generating PostScript." (repeat face) ps-underlined-faces (unless ps-print-color-p '(font-lock-function-name-face font-lock-constant-face font-lock-warning-face)) "A list of the (non-underlined) faces that should be printed underlined.\nThis applies to generating PostScript." (repeat face) ps-use-face-background "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 (list 'ps-get-buffer-name 'ps-header-dirpart) "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 (list "/pagenumberstring load" 'ps-time-stamp-locale-default 'ps-time-stamp-hh:mm:ss) "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 (list 'ps-get-buffer-name 'ps-header-dirpart) "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 (list "/pagenumberstring load" 'ps-time-stamp-locale-default 'ps-time-stamp-hh:mm:ss) "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 "Non-nil means report progress while formatting buffer." ps-adobe-tag "%!PS-Adobe-3.0\n" "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 "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 "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 "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 (or (if (featurep 'xemacs) (cond ((fboundp 'locate-data-directory) (funcall 'locate-data-directory "ps-print")) ((boundp 'data-directory) (symbol-value 'data-directory)) (t nil)) data-directory) (error "`ps-postscript-code-directory' isn't set properly")) "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 "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 "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 "[ ]*$" "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 "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 "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 (#$ . 62398)) #@43 Restore latest `ps-selected-pages' value. (defalias 'ps-restore-selected-pages #[nil "\211\207" [ps-last-selected-pages ps-selected-pages] 2 (#$ . 62487) nil]) #@34 Customization of ps-print group. (defalias 'ps-print-customize #[nil "\300\301!\207" [customize-group ps-print] 2 (#$ . 62655) nil]) #@441 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. (defalias 'ps-print-buffer #[(&optional filename) "\301ed#\207" [filename ps-print-without-faces] 4 (#$ . 62795) (list (ps-print-preprint current-prefix-arg))]) #@256 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. (defalias 'ps-print-buffer-with-faces #[(&optional filename) "\301ed#\207" [filename ps-print-with-faces] 4 (#$ . 63404) (list (ps-print-preprint current-prefix-arg))]) #@114 Generate and print a PostScript image of the region. Like `ps-print-buffer', but prints just the current region. (defalias 'ps-print-region #[(from to &optional filename) "\303 \n\304$\207" [from to filename ps-print-without-faces t] 5 (#$ . 63836) (ps-print-preprint-region current-prefix-arg)]) #@256 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. (defalias 'ps-print-region-with-faces #[(from to &optional filename) "\303 \n\304$\207" [from to filename ps-print-with-faces t] 5 (#$ . 64141) (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 #[nil "\300ed\"\207" [ps-spool-without-faces] 3 (#$ . 64596) nil]) #@329 Generate and spool a PostScript image of the buffer. Like `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 #[nil "\300ed\"\207" [ps-spool-with-faces] 3 (#$ . 64939) nil]) #@195 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. (defalias 'ps-spool-region #[(from to) "\302 \303#\207" [from to ps-spool-without-faces t] 4 (#$ . 65376) "r"]) #@337 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. (defalias 'ps-spool-region-with-faces #[(from to) "\302 \303#\207" [from to ps-spool-with-faces t] 4 (#$ . 65690) "r"]) #@440 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. (defalias 'ps-despool #[(&optional filename) "\301!\207" [filename ps-do-despool] 2 (#$ . 66154) (list (ps-print-preprint current-prefix-arg))]) #@182 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 #[nil "\300 \207" [ps-line-lengths-internal] 1 (#$ . 66746) nil]) #@122 Display number of pages to print this buffer, for various font heights. The table depends on the current ps-print setup. (defalias 'ps-nb-pages-buffer #[(nb-lines) "\301!\207" [nb-lines ps-nb-pages] 2 (#$ . 67027) (byte-code "\300ed\"\207" [ps-count-lines-preprint] 3)]) #@121 Display number of pages to print the region, for various font heights. The table depends on the current ps-print setup. (defalias 'ps-nb-pages-region #[(nb-lines) "\301!\207" [nb-lines ps-nb-pages] 2 (#$ . 67306) (byte-code "\300\301 `\"\207" [ps-count-lines-preprint mark] 3)]) #@40 Used for `ps-print-quote' (which see). (defvar ps-prefix-quote nil (#$ . 67592)) #@49 Return the current PostScript-generation setup. (defalias 'ps-setup #[nil "\305\306\307\310\311\312 \313\260\314\315\316\n\"\315\317\"\315\320\f\"\305\321\322\323\324\325\326\327\330\305\331\332\333\334\335\305\336\337\340\341\342\343\344\305\345\346\347\350\351\305\352\305\353\305\354\305\355\305\356\357\360\361\362\305\363\364\365\366\367\370\371\372\373\374\375\376\377\201@ \201A \201B \201C \201D \201E \201F \201G \201H \201I \201J \201K \201L \201M \201N \305\201O \201P \201Q \201R \305\201S \201T \201U \201V \201W \201X \201Y \201Z \201[ \201\\ \201] \201^ \201_ \201` \201a \201b \305\201c \201d \201e \305\201f \201g \305\201h \201i \201j \201k \201l \201m \257q\313#)\207" [ps-prefix-quote ps-print-version emacs-version ps-windows-system ps-lp-system nil mapconcat ps-print-quote "\n;;; (" "Emacs" ") ps-print version " "\n" ";; internal vars" ps-comment-string "emacs-version " "ps-windows-system " "ps-lp-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"] 115 (#$ . 67679)]) #@701 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. (defalias 'ps-print-quote #[(elt) ";\203 \207:\203S @\250\203S A9\203S \306A!\203S @A\307\n!\211G\nJ\2038 \310\202<