diff options
| author | Kenichi Handa | 1999-10-20 01:03:31 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1999-10-20 01:03:31 +0000 |
| commit | 4234d3d05607e30fc34f423d3b01807b213897ba (patch) | |
| tree | 5ba53ee5a227a2793389428b1b1e49be373eb6c2 | |
| parent | cc953d27936da6fc4900c184af38d6ce977e95da (diff) | |
| download | emacs-4234d3d05607e30fc34f423d3b01807b213897ba.tar.gz emacs-4234d3d05607e30fc34f423d3b01807b213897ba.zip | |
New file: common definitions for all parts of ps-print.
(ps-multibyte-buffer): Moved from ps-mule.
| -rw-r--r-- | lisp/ps-print-def.el | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/lisp/ps-print-def.el b/lisp/ps-print-def.el new file mode 100644 index 00000000000..5af3b2bc866 --- /dev/null +++ b/lisp/ps-print-def.el | |||
| @@ -0,0 +1,96 @@ | |||
| 1 | ;;; ps-print-def.el --- Common definitions for ps-print package | ||
| 2 | |||
| 3 | ;; Copyright (C) 1999 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | ;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br> | ||
| 6 | ;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br> | ||
| 7 | ;; Keywords: wp, print, PostScript | ||
| 8 | ;; Time-stamp: <99/07/03 20:16:48 vinicius> | ||
| 9 | ;; Version: 1.0 | ||
| 10 | |||
| 11 | ;; This file is part of GNU Emacs. | ||
| 12 | |||
| 13 | ;; GNU Emacs is free software; you can redistribute it and/or modify | ||
| 14 | ;; it under the terms of the GNU General Public License as published by | ||
| 15 | ;; the Free Software Foundation; either version 2, or (at your option) | ||
| 16 | ;; any later version. | ||
| 17 | |||
| 18 | ;; GNU Emacs is distributed in the hope that it will be useful, | ||
| 19 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 20 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 21 | ;; GNU General Public License for more details. | ||
| 22 | |||
| 23 | ;; You should have received a copy of the GNU General Public License | ||
| 24 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | ||
| 25 | ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
| 26 | ;; Boston, MA 02111-1307, USA. | ||
| 27 | |||
| 28 | ;;; Commentary: | ||
| 29 | |||
| 30 | ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 31 | ;; | ||
| 32 | ;; Common definitions for ps-print package. | ||
| 33 | ;; | ||
| 34 | ;; See ps-print.el, ps-mule.el and ps-bdf.el for documentation. | ||
| 35 | ;; | ||
| 36 | ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 37 | |||
| 38 | ;;; Code: | ||
| 39 | |||
| 40 | |||
| 41 | ;; `ps-multibyte-buffer' definition should be placed in `ps-mule', but | ||
| 42 | ;; `ps-print' and `ps-mule' both use it so it's here. | ||
| 43 | |||
| 44 | (defcustom ps-multibyte-buffer nil | ||
| 45 | "*Specify the multi-byte buffer handling. | ||
| 46 | |||
| 47 | Valid values are: | ||
| 48 | |||
| 49 | nil This is the value to use the default settings which | ||
| 50 | is by default for printing buffer with only ASCII | ||
| 51 | and Latin characters. The default setting can be | ||
| 52 | changed by setting the variable | ||
| 53 | `ps-mule-font-info-database-default' differently. | ||
| 54 | The initial value of this variable is | ||
| 55 | `ps-mule-font-info-database-latin' (see | ||
| 56 | documentation). | ||
| 57 | |||
| 58 | `non-latin-printer' This is the value to use when you have a Japanese | ||
| 59 | or Korean PostScript printer and want to print | ||
| 60 | buffer with ASCII, Latin-1, Japanese (JISX0208 and | ||
| 61 | JISX0201-Kana) and Korean characters. At present, | ||
| 62 | it was not tested the Korean characters printing. | ||
| 63 | If you have a korean PostScript printer, please, | ||
| 64 | test it. | ||
| 65 | |||
| 66 | `bdf-font' This is the value to use when you want to print | ||
| 67 | buffer with BDF fonts. BDF fonts include both latin | ||
| 68 | and non-latin fonts. BDF (Bitmap Distribution | ||
| 69 | Format) is a format used for distributing X's font | ||
| 70 | source file. BDF fonts are included in | ||
| 71 | `intlfonts-1.1' which is a collection of X11 fonts | ||
| 72 | for all characters supported by Emacs. In order to | ||
| 73 | use this value, be sure to have installed | ||
| 74 | `intlfonts-1.1' and set the variable | ||
| 75 | `bdf-directory-list' appropriately (see ps-bdf.el for | ||
| 76 | documentation of this variable). | ||
| 77 | |||
| 78 | `bdf-font-except-latin' This is like `bdf-font' except that it is used | ||
| 79 | PostScript default fonts to print ASCII and Latin-1 | ||
| 80 | characters. This is convenient when you want or | ||
| 81 | need to use both latin and non-latin characters on | ||
| 82 | the same buffer. See `ps-font-family', | ||
| 83 | `ps-header-font-family' and `ps-font-info-database'. | ||
| 84 | |||
| 85 | Any other value is treated as nil." | ||
| 86 | :type '(choice :tag "Multi-Byte Buffer" | ||
| 87 | (const non-latin-printer) (const bdf-font) | ||
| 88 | (const bdf-font-except-latin) (other :tag "nil" nil)) | ||
| 89 | :group 'ps-print-font) | ||
| 90 | |||
| 91 | |||
| 92 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 93 | |||
| 94 | (provide 'ps-print-def) | ||
| 95 | |||
| 96 | ;;; ps-print-def.el ends here | ||