diff options
| author | Richard M. Stallman | 1998-05-06 04:15:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-05-06 04:15:25 +0000 |
| commit | 496725add131333bb4176c0ecf8dccde793b5b48 (patch) | |
| tree | 9e7ecfafca9847146ca407959bd0e65ab69dabda | |
| parent | 6bdb808ecb39aa0fcc48dec9d4ee8358efe13f5e (diff) | |
| download | emacs-496725add131333bb4176c0ecf8dccde793b5b48.tar.gz emacs-496725add131333bb4176c0ecf8dccde793b5b48.zip | |
(ps-header-title-font-size): Doc fix.
(ps-print-control-characters, ps-setup, ps-header-pad): Doc fixes.
(ps-printing-region, ps-nb-pages): Doc fixes.
| -rw-r--r-- | lisp/ps-print.el | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 73212f901fe..c4210e86ef0 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -375,17 +375,17 @@ Please send all bug fixes and enhancements to | |||
| 375 | ;; | 375 | ;; |
| 376 | ;; Valid values for `ps-print-control-characters' are: | 376 | ;; Valid values for `ps-print-control-characters' are: |
| 377 | ;; | 377 | ;; |
| 378 | ;; '8-bit This is the value to use when you want an ascii encoding of | 378 | ;; 8-bit This is the value to use when you want an ascii encoding of |
| 379 | ;; any control or non-ascii character. Control characters are | 379 | ;; any control or non-ascii character. Control characters are |
| 380 | ;; encoded as "^D", and non-ascii characters have an | 380 | ;; encoded as "^D", and non-ascii characters have an |
| 381 | ;; octal encoding. | 381 | ;; octal encoding. |
| 382 | ;; | 382 | ;; |
| 383 | ;; 'control-8-bit This is the value to use when you want an ascii encoding of | 383 | ;; control-8-bit This is the value to use when you want an ascii encoding of |
| 384 | ;; any control character, whether it is 7 or 8-bit. | 384 | ;; any control character, whether it is 7 or 8-bit. |
| 385 | ;; European 8-bits accented characters are printed according | 385 | ;; European 8-bits accented characters are printed according |
| 386 | ;; the current font. | 386 | ;; the current font. |
| 387 | ;; | 387 | ;; |
| 388 | ;; 'control Only ascii control characters have an ascii encoding. | 388 | ;; control Only ascii control characters have an ascii encoding. |
| 389 | ;; European 8-bits accented characters are printed according | 389 | ;; European 8-bits accented characters are printed according |
| 390 | ;; the current font. | 390 | ;; the current font. |
| 391 | ;; | 391 | ;; |
| @@ -394,7 +394,7 @@ Please send all bug fixes and enhancements to | |||
| 394 | ;; | 394 | ;; |
| 395 | ;; Any other value is treated as nil. | 395 | ;; Any other value is treated as nil. |
| 396 | ;; | 396 | ;; |
| 397 | ;; The default is 'control-8-bit. | 397 | ;; The default is `control-8-bit'. |
| 398 | ;; | 398 | ;; |
| 399 | ;; Characters TAB, NEWLINE and FORMFEED are always treated by ps-print engine. | 399 | ;; Characters TAB, NEWLINE and FORMFEED are always treated by ps-print engine. |
| 400 | ;; | 400 | ;; |
| @@ -999,17 +999,17 @@ it is sent the string \"^D\". | |||
| 999 | 999 | ||
| 1000 | Valid values are: | 1000 | Valid values are: |
| 1001 | 1001 | ||
| 1002 | '8-bit This is the value to use when you want an ascii encoding of | 1002 | `8-bit' This is the value to use when you want an ascii encoding of |
| 1003 | any control or non-ascii character. Control characters are | 1003 | any control or non-ascii character. Control characters are |
| 1004 | encoded as \"^D\", and non-ascii characters have an | 1004 | encoded as \"^D\", and non-ascii characters have an |
| 1005 | octal encoding. | 1005 | octal encoding. |
| 1006 | 1006 | ||
| 1007 | 'control-8-bit This is the value to use when you want an ascii encoding of | 1007 | `control-8-bit' This is the value to use when you want an ascii encoding of |
| 1008 | any control character, whether it is 7 or 8-bit. | 1008 | any control character, whether it is 7 or 8-bit. |
| 1009 | European 8-bits accented characters are printed according | 1009 | European 8-bits accented characters are printed according |
| 1010 | the current font. | 1010 | the current font. |
| 1011 | 1011 | ||
| 1012 | 'control Only ascii control characters have an ascii encoding. | 1012 | `control' Only ascii control characters have an ascii encoding. |
| 1013 | European 8-bits accented characters are printed according | 1013 | European 8-bits accented characters are printed according |
| 1014 | the current font. | 1014 | the current font. |
| 1015 | 1015 | ||
| @@ -1400,8 +1400,7 @@ You can get all the fonts of YOUR printer using `ReportAllFontInfo'." | |||
| 1400 | :group 'ps-print-font) | 1400 | :group 'ps-print-font) |
| 1401 | 1401 | ||
| 1402 | (defcustom ps-header-title-font-size (if ps-landscape-mode 12 14) | 1402 | (defcustom ps-header-title-font-size (if ps-landscape-mode 12 14) |
| 1403 | "Font size, in points, for the top line of text in the header, | 1403 | "Font size, in points, for the top line of text in header, in PostScript." |
| 1404 | when generating PostScript." | ||
| 1405 | :type 'number | 1404 | :type 'number |
| 1406 | :group 'ps-print-font) | 1405 | :group 'ps-print-font) |
| 1407 | 1406 | ||
| @@ -1529,7 +1528,7 @@ about its setting, though." | |||
| 1529 | 1528 | ||
| 1530 | If this variable is non-nil, ps-print will rebuild its internal | 1529 | If this variable is non-nil, ps-print will rebuild its internal |
| 1531 | reference lists of bold and italic faces *every* time one of the | 1530 | reference lists of bold and italic faces *every* time one of the |
| 1532 | -with-faces commands is called. Most users shouldn't need to set this | 1531 | ...-with-faces commands is called. Most users shouldn't need to set this |
| 1533 | variable." | 1532 | variable." |
| 1534 | :type 'boolean | 1533 | :type 'boolean |
| 1535 | :group 'ps-print-face) | 1534 | :group 'ps-print-face) |
| @@ -1664,7 +1663,7 @@ The table depends on the current ps-print setup." | |||
| 1664 | 1663 | ||
| 1665 | ;;;###autoload | 1664 | ;;;###autoload |
| 1666 | (defun ps-setup () | 1665 | (defun ps-setup () |
| 1667 | "Return the current setup." | 1666 | "Return the current PostScript-generation setup." |
| 1668 | (format | 1667 | (format |
| 1669 | " | 1668 | " |
| 1670 | \(setq ps-print-color-p %s | 1669 | \(setq ps-print-color-p %s |
| @@ -2428,8 +2427,8 @@ StandardEncoding 46 82 getinterval aload pop | |||
| 2428 | ;; it'll do for now. | 2427 | ;; it'll do for now. |
| 2429 | 2428 | ||
| 2430 | (defvar ps-header-pad 0 | 2429 | (defvar ps-header-pad 0 |
| 2431 | "Vertical and horizontal space in points (1/72 inch) between the header frame | 2430 | "Vertical and horizontal space between the header frame and the text. |
| 2432 | and the text it contains.") | 2431 | This is in units of points (1/72 inch).") |
| 2433 | 2432 | ||
| 2434 | ;; Define accessors to the dimensions list. | 2433 | ;; Define accessors to the dimensions list. |
| 2435 | 2434 | ||
| @@ -2649,7 +2648,7 @@ If EXTENSION is any other symbol, it is ignored." | |||
| 2649 | 2648 | ||
| 2650 | 2649 | ||
| 2651 | (defvar ps-printing-region nil | 2650 | (defvar ps-printing-region nil |
| 2652 | "Variable used to indicate if it is printing a region. | 2651 | "Variable used to indicate if ps-print is printing a region. |
| 2653 | If non-nil, it is a cons, the car of which is the line number | 2652 | If non-nil, it is a cons, the car of which is the line number |
| 2654 | where the region begins, and its cdr is the total number of lines | 2653 | where the region begins, and its cdr is the total number of lines |
| 2655 | in the buffer. Formatting functions can use this information | 2654 | in the buffer. Formatting functions can use this information |
| @@ -2752,9 +2751,9 @@ Try: pr -t file | awk '{printf \"%3d %s\n\", length($0), $0}' | sort -r | head" | |||
| 2752 | (display-buffer buf 'not-this-window))) | 2751 | (display-buffer buf 'not-this-window))) |
| 2753 | 2752 | ||
| 2754 | (defun ps-nb-pages (nb-lines) | 2753 | (defun ps-nb-pages (nb-lines) |
| 2755 | "Display an approximate correspondence between a font size and the number | 2754 | "Display correspondence between font size and the number of pages. |
| 2756 | of pages the number of lines would require to print | 2755 | The correspondence is based on having NB-LINES lines of text, |
| 2757 | using the current ps-print setup." | 2756 | and on the current ps-print setup." |
| 2758 | (let ((buf (get-buffer-create "*Nb-Pages*")) | 2757 | (let ((buf (get-buffer-create "*Nb-Pages*")) |
| 2759 | (ifs ps-font-size) ; initial font size | 2758 | (ifs ps-font-size) ; initial font size |
| 2760 | (ilh (ps-line-height 'ps-font-for-text)) ; initial line height | 2759 | (ilh (ps-line-height 'ps-font-for-text)) ; initial line height |