1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

181 Commits

Author SHA1 Message Date
Richard M. Stallman
509b4dbc0b Adjust ps-print-color-p, ps-default-fg and ps-default-bg setting.
(ps-print-version): New version number (6.5.7).
(ps-mark-active-p): New fun.
(ps-print-preprint-region): Adjust code.
2002-09-12 03:21:57 +00:00
Richard M. Stallman
c90a10faa9 (ps-printer-name-option): Doc fix.
Adjust ps-postscript-code-directory setting.  XEmacs
version check was adjusted.
(ps-print-version): New version number (6.5.6).
(ps-print-color-p, ps-page-dimensions-database): Autoload var.
(ps-print-code, ps-print-preprint-region): Adjust code.
2002-09-10 16:49:47 +00:00
Richard M. Stallman
2285bf9df7 Many doc fixes. 2002-09-09 19:26:40 +00:00
Richard M. Stallman
d1951e6adc (ps-lp-system): Fixed typo in `usg-unix-v'. 2002-08-30 15:49:30 +00:00
Markus Rost
bf29d4c1c6 Update copyright year.
(ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
2002-07-27 19:50:34 +00:00
Per Abrahamsen
1426742bdf 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
* ps-print.el (ps-print-printer): Added `lpr' customize group
	member.
2002-02-25 16:29:54 +00:00
Richard M. Stallman
e31c1fd5e4 (ps-font-lock-face-attributes): Use :weight and :slant. 2001-12-31 20:32:52 +00:00
Gerd Moellmann
7853aef6a4 Fix copyright years. 2001-09-19 14:54:19 +00:00
Gerd Moellmann
55732434fe Better face mapping for black/white PostScript printers.
Check if mark is active when printing a region.  Doc fix.
(ps-print-version): New version number (6.5.5).
(ps-print-color-p): Customization fix.
(ps-black-white-faces): New option.
(ps-black-white-faces-alist): New internal var.
(ps-count-lines-preprint, ps-print-preprint-region): New funs.
(ps-print-region, ps-print-region-with-faces, ps-nb-pages-buffer)
(ps-nb-pages-region): Interactive fix.
(ps-extend-face-list, ps-extend-face, ps-setup, ps-begin-job)
(ps-face-attributes, ps-generate-postscript-with-faces): Code fix.
2001-09-18 09:28:00 +00:00
Gerd Moellmann
66a863f059 (ps-print-region, ps-print-region-with-faces)
(ps-nb-pages-region): Signal an error if called interactively
and the mark is not active.
2001-09-13 10:12:45 +00:00
Gerd Moellmann
27dc47aa81 Change error function arguments to follow Emacs
message convention.  Doc fix.
(ps-print-version): New version number (6.5.4).
(coding-system-for-write): Change declaration position to avoid
XEmacs compilation gripes.
(coding-system-for-read, buffer-file-coding-system): Declarations
to avoid XEmacs compilation gripes.
2001-08-15 08:05:21 +00:00
Pavel Janík
652a9be93e Author header fix. 2001-07-16 14:36:26 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Gerd Moellmann
4b81a999b9 Use locale dependant date to print date in header. Doc
fix.
(ps-print-version): New version number (6.5.3).
(ps-right-header, ps-right-footer): Initialization and doc fix.
(ps-time-stamp-locale-default): New fun.
2001-07-06 09:59:25 +00:00
Gerd Moellmann
c86f4619eb Handle before-string and after-string overlay properties
in ps-print-*-with-faces commands.  Doc fix.
(ps-print-version): New version number (6.5.2).
(ps-e-overlay-end): Alias for overlay-end to avoid compilation gripes
for XEmacs.
(ps-prefix-quote): Doc fix.
(ps-setup, ps-print-quote, ps-generate-postscript-with-faces): Code
fix.
(ps-basic-plot-str, ps-plot-string): New funs.
2001-06-01 09:22:20 +00:00
Gerd Moellmann
efa89c1f70 Color specified by number is forced to be float number.
(ps-print-version): New version number (6.5.1.1).
(ps-header-frame-alist, ps-footer-frame-alist): Adjust color
initialization.
(ps-prefix-quote): New internal var.
(ps-print-quote): New fun.
(ps-setup, ps-output-frame-properties, ps-float-format)
(ps-format-color): Code fix.
(ps-plot-region): Eliminate redundant foreground color text
setting.
2001-04-26 09:30:00 +00:00
Gerd Moellmann
319acba0f5 Footers implementation. Doc Fix.
(ps-print-version): New version number (6.5.1).
(ps-header-frame-alist): New customization var for header frame
properties.
(ps-line-number-color): New customization var for line number color.
(ps-footer-offset, ps-footer-line-pad, ps-print-footer)
(ps-print-footer-frame, ps-footer-frame-alist, ps-footer-lines)
(ps-footer-font-family, ps-footer-font-size, ps-left-footer)
(ps-right-footer): New customization vars for footers.
(ps-footer-pad, ps-footer-font-size-internal): New internal vars for
footers.
(ps-setup, ps-get-page-dimensions, ps-generate-header-line)
(ps-generate-header, ps-begin-file, ps-begin-job, ps-begin-page): Code
fix.
(ps-prologue-file): Indentation fix.
(ps-print-quote): Fun eliminated.
(ps-value, ps-get, ps-put, ps-del): New funs for alist handling.
(ps-output-frame-properties): New fun.
(ps-fonts, ps-font-number, ps-rgb-color, ps-end-page, ps-next-page)
(ps-skip-newline): Replace defun by defsubst.
2001-04-10 11:33:06 +00:00
Gerd Moellmann
6bf5fb46a3 Line and paragraph spacing feature. Region to cut
out when printing.  Doc fix.
(ps-print-version): New version number (6.5).
(ps-line-spacing, ps-paragraph-spacing, ps-paragraph-regexp): New
vars.  Line and paragraph spacing feature.
(ps-begin-cut-regexp, ps-end-cut-regexp): New vars.  Region to cut
out when printing.
(ps-setup, ps-nb-pages, ps-get-page-dimensions, ps-begin-file)
(ps-get-font-size, ps-begin-job, ps-continue-line)
(ps-plot-region): Code fix.
(ps-print-prologue-2): Var eliminated.
(ps-line-spacing-internal, ps-paragraph-spacing-internal): New
internal vars.
(ps-get-size): New fun.
(ps-output-string-prim, ps-init-output-queue, ps-print-page-p)
(ps-next-line): Replace defun by defsubst.
(ps-mule-plot-string): Autoload doc fix.

(ps-mule-generate-font): New arg HEADER-P.  If it is
non-nil, generate font for the header strings.
(ps-mule-prepare-font): Likewise.
(ps-mule-generate-glyphs): Likewise.
(ps-mule-string-encoding): Likewise.
(ps-mule-header-charsets): New variable.
(ps-mule-encode-header-string): New function.
(ps-mule-header-string-charsets): New function.
(ps-mule-begin-job): Check charsets in the header strings.  If there
are non-ASCII and non-Latin1 charsets, prepare fonts for them.
2001-04-02 10:35:07 +00:00
Gerd Moellmann
2bd80d73da Timestamp package replacement. Some enhancements. Some
XEmacs compatibility.  Doc Fix.
(ps-print-version): New version number (6.4).
(ps-printer-name): Initialization fix.
(ps-zebra-stripe-follow): Funcionality enhancement.
(ps-prologue-file): Code enhancement.
(ps-right-header): Timestamp package replacement.
(ps-setup, ps-face-bold-p, ps-face-italic-p, ps-get-page-dimensions)
(ps-generate-header, ps-begin-file, ps-begin-job)
(ps-generate-postscript-with-faces, ps-do-despool): Code fix.
(ps-time-stamp-mon-dd-yyyy, ps-time-stamp-hh:mm:ss): New funs.
(ps-zebra-stripe-full-p, ps-zebra-stripe-alist): New vars.
(coding-system-for-write): Var declaration (XEmacs compatibility).
2001-02-20 10:41:10 +00:00
Dave Love
942a1d58ad (ps-print-region-function): Fix :type. 2001-02-07 23:43:05 +00:00
Gerd Moellmann
bd7a2e2617 Handle form feed better when ps-zebra-stripe-follow is
non-nil.  Adding almost all customization variables on ps-setup.  Doc
Fix.
(ps-print-version): New version number (6.3.3).
(ps-end-with-control-d): Initialization fix.
(ps-lines-printed): New var.
(ps-skip-newline): New fun.
(ps-setup, ps-prologue-file, ps-begin-job, ps-begin-page)
(ps-next-line, ps-continue-line, ps-plot-region)
(ps-generate-postscript-with-faces, ps-end-job): Code fix.
2000-12-29 11:48:50 +00:00
Eli Zaretskii
ef1159c241 (ps-end-job): Bind case-fold-search only after
switching to ps-spool-buffer.

Line number font customization.  PostScript: Lines and
PageCount are initialized on each page.  Doc Fix.
(ps-print-version): New version number (6.3.2).
(ps-lpr-switches, ps-font-info-database, ps-font-size)
(ps-header-font-size, ps-header-title-font-size, ps-left-header)
(ps-right-header): Customization fix.
(ps-setup, ps-select-font, ps-begin-file, ps-header-sheet, ps-end-job):
Fix code.
(ps-end-with-control-d, ps-line-number-font, ps-line-number-font-size):
New vars.
2000-11-30 13:20:49 +00:00
Gerd Moellmann
967b06fd8b Update copyright notice. 2000-11-18 13:12:18 +00:00
Gerd Moellmann
08ea6f1714 Minor fixes from author. 2000-11-17 22:50:15 +00:00
Gerd Moellmann
7bb054a550 Patch for variable initialization when spooling. Doc
fix.
(ps-output-list): Fun eliminated.
(ps-begin-file, ps-begin-job): Code fix.
2000-11-09 12:05:55 +00:00
Gerd Moellmann
4b3eb10f17 Extension for even/odd printing. Doc Fix.
(ps-print-version): New version number (6.3.1).
(ps-even-or-odd-pages): Customization fix.
(ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
(ps-header-sheet, ps-header-page, ps-end-job): Code fix.
(ps-page-count): Var replaced by `ps-page-column'.
(ps-page-column, ps-page-sheet, ps-page-printed): New vars.
(ps-print-sheet-p): New fun.
2000-11-02 12:04:59 +00:00
Gerd Moellmann
ea0c615db0 Fix bug on selected pages for printing. Use
`color-values' for Emacs 21.  Ensure fontification when jit-lock
is on.  Try to avoid warning messages when compiling.  Doc Fix.
(ps-print-version): New version number (6.3).
(ps-color-device): Use `color-values' to determine if device
supports color.
(ps-color-values): Try to use `x-color-values' when using XEmacs.
(ps-print-page-p): Changed from defsubst to defun.
(ps-page-number): Changed from defmacro to defun.
(ps-header-sheet, ps-header-page): Fix bug on selected pages for
printing.
(ps-print-ensure-fontified): Ensure fontification when jit-lock is
on.
(ps-end-file, ps-dummy-page): Funs eliminated.
(ps-print-color-scale): Changed default value.
(ps-page-n-up, ps-print-page-p): New internal vars.
(ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
(ps-plot-region, ps-generate, ps-end-job): Code fix.
2000-10-31 11:54:38 +00:00
Gerd Moellmann
47b54c71f8 Avoid compilation gripes.
(ps-print-version): New version number (6.2.1).
2000-10-26 14:15:15 +00:00
Gerd Moellmann
70f57a7251 (ps-generate): Fix odd/even pages printing bug. 2000-10-24 21:17:40 +00:00
Gerd Moellmann
877cf6b438 (ps-print-emacs-type): Move into the
eval-and-compile.
2000-10-19 10:55:15 +00:00
Gerd Moellmann
3e9cb08f58 Even/odd pages fix. Fix little bug on XEmacs. Avoid
compilation gripes.  Doc fix.
(ps-print-version): New version number (6.2).
(ps-x-color-instance-p, ps-x-color-instance-rgb-components)
(ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
(ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
(ps-x-extent-priority, ps-x-extent-start-position)
(ps-x-face-font-instance, ps-x-find-coding-system)
(ps-x-font-instance-properties, ps-x-make-color-instance)
(ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
avoid compilation gripes without defining functions.
(ps-e-find-composition): Alias for function find-composition, to have a
suitable function depending on Emacs version.
(ps-color-device, ps-color-values, ps-face-foreground-name)
(ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
(ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
(ps-print-ensure-fontified): Function definitions surrounded by
`eval-and-compile' to avoid compilation gripes.
(ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
by symbol-value to avoid compilation gripes.
(ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
(ps-generate-postscript-with-faces): Fix little bug on XEmacs.
2000-10-19 10:46:51 +00:00
Gerd Moellmann
3556c6dd27 Internal variable changes to defcustom,
make-local-hook changes to defvar.  Doc fix.
(ps-print-version): New version number (6.1).
(ps-setup, ps-do-despool): Code fix.
(ps-printer-name): Customization fix.
(ps-printer-name-option): Now is a defcustom instead of an
internal variable.
(ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
(ps-print-begin-column-hook): Now are defvar instead of
make-local-hook.
2000-10-18 14:31:05 +00:00
Gerd Moellmann
c3d6d211fe Even/odd pages printing. Doc fix.
(ps-print-version): New version number (6.0).
(ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
(ps-background, ps-begin-file, ps-begin-job): Code fix.
(ps-print-duplex-feature): Variable eliminated.
(ps-even-or-odd-pages): New variable.
2000-08-29 10:51:52 +00:00
Gerd Moellmann
df5e6194c6 Fix bug 1: if ps-font-size-internal,
ps-header-font-size-internal and
ps-header-title-font-size-internal variables are not set,
ps-nb-pages and ps-line-lengths-internal crashes.  Fix bug 2: if
face text property is (foreground-color . COLOR) or
`(background-color . COLOR)', ps-print crashes.  Doc fix.
(ps-print-version): New version number (5.2.4).
(ps-plot-region): Code fix.
(ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
(ps-face-attribute-list, ps-face-attributes, ps-face-background):
Bug fix 2.
2000-07-30 11:49:38 +00:00
Gerd Moellmann
1fd9b7fe42 Fix bug: if ^L is the very first buffer character,
ps-print crashes.  New feature: page selection for printing.  Create
raw-text-unix coding system for XEmacs.  Doc fix.
(ps-print-version): New version number (5.2.3).
(ps-plot-region): Bug fix.
(ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
(ps-header-sheet, ps-generate, ps-end-job): Code fix.
(ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
funs.
(ps-selected-pages, ps-last-selected-pages, ps-first-page)
(ps-last-page): New vars.
2000-06-22 12:27:49 +00:00
Gerd Moellmann
8e234846db XEmacs compatibility. Doc fix. Can select page size
with/without giving an error if PostScript printer doesn't have this
kind of page size.  Zebra Stripe continues or restarts on next page.
Manual/automatic paper feeding.  Switch or not the header.
(ps-print-version): New version number (5.2.2).
(ps-windows-system): Include emx as a Windows system.
(ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
(ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
(ps-background-text): Code fix.
(ps-error-handler-message, ps-user-defined-prologue)
(ps-print-prologue-header, ps-printer-name)
(ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
(ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
(ps-use-face-background): Customization fix.
(ps-n-up-database): Data fix.
(ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
(ps-switch-header): New vars.
(ps-xemacs-color-name, ps-face-foreground-name)
(ps-face-background-name, ps-boolean-constant): New funs.
2000-06-07 15:34:55 +00:00
Gerd Moellmann
98f2fbe725 * ps-print.el: Compatibility, customization and doc fix.
(ps-printer-name-option): Replace defconst by defvar.
(ps-postscript-code-directory): XEmacs compatibility.
(ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
fix.
(ps-user-defined-prologue, ps-print-prologue-header)
(ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
compatibility and code fix.
(ps-print-background-image, ps-print-background-text):
Customization fix.
(ps-line-number-start, ps-n-up-on): New vars.
2000-05-18 21:50:51 +00:00
Gerd Moellmann
906d41a775 Upside-down and face background color printing,
line number step, doc fix.
(ps-print-version): New version number (5.2).
(ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
(ps-face-attribute-list, ps-plot-with-face): Code fix.
(ps-spool-config): Var fix.
(ps-printer-name-option): Const fix.
(ps-print-upside-down, ps-use-face-background,
ps-line-number-step): New vars.
(ps-window-system, ps-lp-system): New consts.
(ps-face-background): New fun.
2000-04-29 19:27:49 +00:00
Gerd Moellmann
712dc9e0f1 Check for line-beginning-position definition.
Fix counting lines in a region.
(ps-print-version): New version number (5.1.5).
(ps-spool-without-faces, ps-spool-with-faces): Adjust code.
(ps-printing-region): Fun code fix.
2000-04-15 11:39:10 +00:00
Gerd Moellmann
edc9cd3505 Customization fix, doc fix.
(ps-print-version): New version number (5.1.4).
(ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
(ps-print-preprint): Adjust code.
(ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
(ps-print-prologue-header, ps-print-control-characters)
(ps-spool-config): Customization fix.
2000-04-13 19:15:23 +00:00
Gerd Moellmann
6e1b1da607 PostScript programming fix for ghostview, doc fix.
(ps-print-version): New version number (5.1.3).
(ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
(ps-insert-file, ps-output-boolean, ps-plot-with-face)
(ps-generate-postscript-with-faces): Code fix.
(ps-color-values): XEmacs compatibility.
(ps-print-background-image, ps-print-background-text, ps-printer-name)
(ps-default-fg, ps-default-bg): Adjust customization.
(ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
(ps-color-scale): Renaming old ps-color-value fun.
(ps-print-headers): Replace ps-print-header group to avoid conflict
with ps-print-header variable.
(ps-print-miscellany): New group.
(ps-format-color, ps-rgb-color): New funs.
(ps-default-foreground): New var.
(ps-printer-name-option): New const.
2000-03-30 13:21:45 +00:00
Gerd Moellmann
47d2ac7545 Skip banner page fix.
(ps-print-version): New version number (5.1.2).
(ps-begin-file, ps-end-file, ps-generate): Code fix.
2000-03-23 13:54:25 +00:00
Gerd Moellmann
133fc76450 N-up last page fix.
(ps-print-version): New version number (5.1.1).
(ps-end-file, ps-end-job, ps-generate): Code fix.
2000-03-22 12:14:56 +00:00
Gerd Moellmann
66e63857d6 PostScript user-defined prologue, PostScript error
handler, doc fix.
(ps-print-version): New version number (5.1).
(ps-user-defined-prologue, ps-error-handler-message)
(ps-print-prologue-0, ps-error-handler-alist): New vars.
(ps-setup, ps-begin-file, ps-begin-job): Code fix.
(ps-insert-string): New function.
2000-03-15 13:35:02 +00:00
Kenichi Handa
41481e4bcd PostScript code now is in separate files, doc fix.
(ps-print-version): New version number (5.0.3).
(ps-header-lines, ps-left-header, ps-right-header): No more buffer
local.
(ps-spool-config): Initialization fix.
(ps-print-prologue-1, ps-print-prologue-2, ps-print-duplex-feature):
PostScript code moved to separated file.
(ps-background-image): Little code reformating.
(ps-begin-file, ps-begin-job): Fix code.
(ps-postscript-code-directory, ps-mark-code-directory): New
vars.
(ps-prologue-file): New fun.
2000-01-05 08:11:30 +00:00
Kenichi Handa
0a5daee5ba ps-vars eliminated, doc fix.
(ps-print-version): New version number (5.0.2).
(ps-spool-config): Initialization fix.
(ps-print-customize): New fun.
2000-01-05 07:17:31 +00:00
Kenichi Handa
9d4d60c169 (ps-plot-region): Handle new composition. 1999-12-15 00:38:58 +00:00
Kenichi Handa
68e684a019 Define mule funs without checking if mule package is
loaded.
(ps-print-version): New version number (5.0.1).
(ps-header-dirpart): Now uses abbreviate-file-name.
1999-11-24 02:29:08 +00:00
Kenichi Handa
5daebd006e Require ps-vars instead of ps-print-def. 1999-11-18 10:42:44 +00:00
Kenichi Handa
bc0d41bdf0 Doc fix, duplex and setpagedevice configuration.
(ps-print-version): New version number (4.2).
(ps-spool-config, ps-spool-tumble): New vars.
(ps-print-prologue-1): Changed to defconst, adjust PostScript
programming, new PostScript procedure to handle errors.
(ps-print-prologue-2): Changed to defconst.
(ps-print-duplex-feature): New const: duplex and tumble setting.
(ps-setup, ps-begin-file): Fix funs.
(ps-boolean-capitalized): New fun.

Doc fix, n-up printing.
(ps-print-version): New version number (5.0).
(ps-page-dimensions-database): Added document media.
(ps-n-up-printing, ps-n-up-margin, ps-n-up-border-p, ps-n-up-filling)
(ps-page-order, ps-printing-region-p): New vars.
(ps-n-up-printing, ps-n-up-filling, ps-header-sheet, ps-end-job): New
funs.
(ps-page-dimensions-get-media, ps-n-up-landscape, ps-n-up-lines)
(ps-n-up-columns, ps-n-up-missing, ps-n-up-xcolumn, ps-n-up-ycolumn)
(ps-n-up-xline, ps-n-up-yline, ps-n-up-repeat, ps-n-up-end)
(ps-n-up-xstart, ps-n-up-ystart): New macros.
(ps-print-begin-sheet-hook): New hook.
(ps-boundingbox-re, ps-n-up-database, ps-n-up-filling-database): New
const.
(ps-setup, ps-begin-file, ps-get-buffer-name, ps-begin-job)
(ps-end-file, ps-dummy-page, ps-generate): Fix funs.
(ps-print-prologue-1): Adjust PostScript programming for n-up printing.
(ps-count-lines): Changed to defun.
(ps-header-page): Changed to defsubst, fix fun.
(ps-printing-region): Doc fix, adjust programming code.
(ps-output-boolean, ps-background-pages, ps-background-text)
(ps-background-image, ps-background, ps-get-boundingbox): Adjust
programming code.

Doc fix, better customization.
(ps-print-region-function, ps-number-of-columns, ps-spool-tumble)
(ps-print-color-p, ps-printing-region-p, ps-n-up-database)
(ps-end-file): Doc fix.
(ps-setup, ps-begin-file): Fun fix.
(postscript): New group.
(ps-zebra-gray, ps-banner-page-when-duplexing): New vars.
(ps-print-prologue-1): Adjust PostScript programming.
(ps-print): Adjust group hierarchy.
(ps-print-n-up, ps-print-zebra, ps-print-background,
ps-print-printer)
(ps-print-page): New subgroups.
(ps-print-prologue-header, ps-printer-name, ps-lpr-command)
(ps-lpr-switches, ps-page-dimensions-database, ps-paper-type)
(ps-landscape-mode, ps-print-control-characters, ps-n-up-printing)
(ps-n-up-margin, ps-n-up-border-p, ps-n-up-filling, ps-zebra-stripes)
(ps-zebra-stripe-height, ps-print-background-image)
(ps-print-background-text, ps-spool-config): Adjust customization.
(dos-ps-printer): Definition eliminated.
1999-10-20 01:06:27 +00:00
Kenichi Handa
362438055a (ps-control-character): Fix previous change. 1999-06-15 08:11:35 +00:00
Karl Heuer
270a64ac30 (ps-printer-name): Fix custom type. 1999-06-12 04:04:14 +00:00
Kenichi Handa
131c526737 (ps-control-character): Call
ps-mule-prepare-ascii-font to setup ASCII fonts.
1999-05-10 01:51:59 +00:00
Kenichi Handa
7d8b7e8e8b Doc fix, font size specifies landscape and portrait sizes.
(ps-print-version): New version number (4.1.4).
(ps-font-size, ps-header-font-size, ps-header-title-font-size):
Specifies landscape and portrait sizes.
(ps-setup, ps-print-quote, ps-line-lengths-internal, ps-nb-pages)
(ps-get-page-dimensions, ps-begin-file, ps-begin-job, ps-generate): Fun
fix.
(ps-get-font-size): New fun.
(ps-font-size-internal, ps-header-font-size-internal)
(ps-header-title-font-size-internal): New vars.

PostScript programming fix.
(ps-print-prologue-1): Fix BeginDoc PostScript procedure (do'nt use
setpagedevice operator).
1999-02-27 01:37:15 +00:00
Andrew Innes
52cf535f30 (ps-printer-name): Update docstring about usage on
MS-DOS and MS-Windows.
(ps-lpr-command): Update docstring as for lpr-command.
(ps-print-region-function): New variable.
(ps-do-despool): Use it.
(ps-do-despool) [ms-dos, windows-nt]: Remove special case code for
DOS/Windows.
1999-01-17 18:57:20 +00:00
Kenichi Handa
2680029f0a Doc fix. 1998-12-23 01:34:48 +00:00
Kenichi Handa
7c1cddd3b0 (ps-print-version): New version number (4.1.3). 1998-12-22 12:43:30 +00:00
Kenichi Handa
298bfad9b1 (ps-mule-font-info-database): Doc-string modified.
(ps-mule-external-libraries): New element FEATURE.
(ps-mule-init-external-library): Ajusted for the above change.
(ps-mule-generate-font): Likewise.
(ps-mule-generate-glyphs): Likewise.
(ps-mule-prepare-font): Likewise.
(ps-mule-initialize): Likewise.
(ps-begin-file): Superfluous tailing parenthesis deleted.

Mule related code moved to ps-mule.el.
(ps-begin-job): While setting ps-control-or-escape-regexp, don't
check ps-mule-charset-list.
(ps-begin-page): Don't set ps-mule-current-charset, instead call
ps-mule-begin-page.
(ps-basic-plot-string): Call ps-mule-prepare-ascii-font.
(ps-plot-region): Don't set ps-mule-current-charset, instead call
ps-mule-set-ascii-font.  Don't call ps-mule-skip-same-charset,
instead skip same charsets by itself.
(ps-generate): Call ps-mule-initialize of needs-begin-file is
non-nil.  Call ps-mule-begin-job.

(ps-print-version): New version number (4.1.2), doc fix
and mule related code extraction. Autoload ps-mule funs.

Define several functions for Emacs 20.2 and the
earlier version.
(ps-printer-name): Check if printer-name is bound.
1998-12-15 06:31:48 +00:00
Geoff Voelker
a953784890 (ps-do-despool) [ms-dos, windows-nt]: Ditto for
ps-printer-name.
1998-12-07 19:27:26 +00:00
Andrew Innes
9bf0a58762 (ps-print-prologue-1): Only use old LandscapeMode handling if
setpagedevice is not available.

(ps-begin-file): Fix typo.
1998-11-11 14:35:27 +00:00
Andrew Innes
f8c707612e (ps-print-prologue-1): In BeginDoc procedure, call setpagedevice to
specify the page size if setpagedevice is available.  This is
necessary to select the correct paper tray on Level 2 printers with
multiple paper sizes available.

(ps-begin-file): Cope with font names that contain spaces, and
call BeginDoc in a BeginSetup/EndSetup block.
1998-11-09 15:05:23 +00:00
Karl Heuer
024ced4d91 Doc fixes. 1998-10-26 20:25:41 +00:00
Karl Heuer
d3ab8dac3e User option for multibyte buffer handling and doc fix.
(ps-multibyte-buffer): New user option.
(ps-setup): Print new user option.
(ps-print-quote): New fun.
(ps-color-p, ps-mule-font-info-database-latin): New var.
(ps-default-color, ps-mule-font-info-database)
(ps-mule-font-info-database-ps-bdf): Adjust initialization.
(ps-mule-get-font-spec, ps-mule-begin, ps-begin-file)
(ps-plot-with-face, ps-generate-postscript-with-faces, ps-generate):
Little code improvement.
(ps-mule-initialize): Initialize ps-mule-font-info-database.
(ps-print-prologue-header, ps-font-family, ps-font-size)
(ps-header-font-family, ps-header-font-size, ps-header-title-font-size)
(ps-build-face-reference, ps-mule-font-info-database-bdf)
(ps-mule-external-libraries, ps-mule-init-external-library)
(ps-mule-prepare-font, ps-mule-find-wrappoint, ps-mule-plot-string): doc
fix.

To make it work also on Emacs 20.2 and the earlier
version, check the value of mule-version.

(ps-print-version): New version number (4.1.1) and doc
fix.
(ps-print-prologue-header): New user option.
(ps-color-values, ps-xemacs-face-kind-p, ps-mapper, ps-extent-sorter):
Conditional compilation for GNU Emacs and emacsens.
(ps-generate-postscript-with-faces): Skip invisible text better.
(ps-setup): Print new user option.
(ps-print-preprint): Check if input file name exists and is unwritable.
(ps-begin-file): Adjust PostScript prologue header for duplex printers
and insert user PostScript prologue header comments.
(ps-mule-encode-bit, ps-mule-string-ascii, ps-mule-string-encoding): New
funs.
(dos-ps-printer, lazy-lock-fontify-buffer): Eliminated.
(ps-mule-prologue, ps-mule-cmpchar-prologue, ps-mule-bitmap-prologue):
PostScript programming normalization.
(ps-mule-encode-7bit, ps-mule-encode-8bit, ps-mule-generate-font)
(ps-mule-generate-glyphs, ps-mule-prepare-font, ps-mule-plot-string)
(ps-mule-skip-same-charset, ps-mule-plot-rule-cmpchar)
(ps-mule-plot-cmpchar, ps-mule-prepare-cmpchar-font)
(ps-mule-initialize, ps-mule-begin, ps-face-bold-p, ps-do-despool):
Programming style normalization.
1998-10-26 20:22:17 +00:00
Richard M. Stallman
d59cd65786 (ps-mule-chars-in-string): No need to use sref.
(ps-mule-string-char): No need to use sref.
(ps-mule-next-index): No need to use sref.
1998-10-17 19:51:34 +00:00
Richard M. Stallman
79080fa086 (ps-print-buffer): Doc fix.
(ps-despool): Likewise.
1998-10-15 16:07:40 +00:00
Richard M. Stallman
5ac0cb14e9 (ps-print-buffer): Doc fix. 1998-10-14 20:10:01 +00:00
Karl Heuer
1c9320f14a Test for set-buffer-multibyte rather than using mule-version. 1998-09-23 23:25:48 +00:00
Karl Heuer
c82b4a7521 Skip invisible overlay.
(ps-print-version): New version number (4.1) and doc fix.
(ps-generate-postscript-with-faces): Skip invisible overlay.
1998-09-23 22:11:56 +00:00
Andreas Schwab
334cc3b71b (ps-font-info-database): Add missing dots in value.
Improve layout of customize type.
1998-09-18 09:19:47 +00:00
Kenichi Handa
30ae06fc5a To make it work also on Emacs 20.2 and the earlier
version, check the value of mule-version.
1998-09-07 13:39:15 +00:00
Kenichi Handa
be415ea70e (ps-mule-font-info-database-bdf): The include ASCII
entry and change Latin-1 entry in the default value.
(ps-mule-font-info-database-ps-bdf): New variable.
(ccl-encode-ethio-unicode): Bug of CCL code fixed.
(ps-mule-generate-font): Give CHARSET arg to FONT-FUNC function
registerd in FONT-SPEC.
(ps-mule-bitmap-prologue): Fix PostScript code to realize correct
charcter width of bitmap fonts.
(ps-mule-generate-bitmap-font): Give COLUMNS arg to PostScript
procedure NF.
(ps-begin-file): Output PostScript code for setting
SpaceWidthRatio.
(ps-plot-region): Use line-beginning-position to get a position of
the beginning of the current line.
1998-09-02 04:51:42 +00:00
Kenichi Handa
915293a22e (ps-print-control-characters): Doc-string modified.
(ps-output-string-prim): Comment format changed.
(ps-do-despool): Indentation of source code changed.
1998-08-28 12:33:52 +00:00
Kenichi Handa
e65df0a1cf Multi-byte buffer handling.
(ps-print-version): New version number (4.0) and doc fix.
(ps-color-device, ps-face-bold-p, ps-face-italic-p): Conditional
compilation for GNU Emacs and emacsens.
(ps-generate-postscript-with-faces): Force invisible text to be
visible.
(dos-ps-printer): New var to avoid compilation gripes.

(ps-mule-plot-string): Pay attention to the case
that no more characters can't be printed in the current line.

(ps-mule-find-wrappoint): ENDPOS should not be greater than TO.

Add codes to make ps-print.el work also on Emacs
20.2 and the earlier version.
(ps-mule-encode-7bit, ps-mule-encode-8bit): Modified for 20.2.
(ccl-encode-ethio-unicode, ps-mule-encode-ethiopic): Likewise.
(ps-mule-find-wrappoint): Likewise.
(ps-mule-generate-font): Change `X' to `x' in format
control-string.
(ps-generate): Call ps-mule-begin before calling ps-begin-job.
(ps-mule-cmpchar-prologue): Delete unnecessary `gsave' and
`restore' form procedures `BC' and `EC'.

(ps-print-prologue-1): Handle the case that FontBBox
is an executable procedure.  Make LineThickness, Xshadow, and
Yshadow relative to FontHeight.  Set SpaceWidth in BeginDoc.
(ps-mule-font-info-database, ps-mule-font-info-database-ps,
ps-mule-font-info-database-bdf): New vars.
(ps-mule-encode-7bit, ps-mule-encode-8bit): New funs.
(ccl-encode-ethio-unicode): New CCL program.
(ps-mule-encode-ethiopic): New fun.
(ps-mule-current-charset): New var.
(ps-mule-get-font-spec, ps-mule-font-spec-src,
ps-mule-font-spec-name, ps-mule-font-spec-encoding,
ps-mule-font-spec-bytes, ps-mule-printable-p): New funs.
(ps-mule-external-libraries): New var.
(ps-mule-init-external-library): New fun.
(ps-mule-font-cache): New var.
(ps-mule-generate-font, ps-mule-generate-glyphs): New funs.
(ps-last-font): New var.
(ps-mule-prepare-font): New fun.
(ps-mule-charset-list): New var.
(ps-mule-prologue-generated, ps-mule-prologue): New vars.
(ps-mule-skip-same-charset, ps-mule-find-wrappoint,
ps-mule-plot-string): New funs.
(ps-mule-cmpchar-prologue-generated, ps-mule-cmpchar-prologue):
New vars.
(ps-mule-plot-rule-cmpchar, ps-mule-plot-cmpchar,
ps-mule-prepare-cmpchar-font): New funs.
(ps-mule-bitmap-prologue-generated, ps-mule-bitmap-prologue): New
vars.
(ps-mule-generate-bitmap-prologue, ps-mule-generate-bitmap-font,
ps-mule-generate-bitmap-glyph): New funs.
(ps-mule-initialize, ps-mule-begin): New funs.
(ps-output-string-prim): Insert string as unibyte.
(ps-output-prologue): New fun.
(ps-flush-output): Handle the case of 'prologue.
(ps-begin-file): Call ps-mule-initialize.
(ps-begin-job): Set ps-control-or-escape-regexp differently if
printing multibyte characters.
(ps-begin-page): Set ps-mule-current-charset to 'ascii.
(ps-basic-plot-string): Handle the case of printing ASCII
characters by external libraries (e.g. BDF).
(ps-set-font): Set ps-last-font.
(ps-plot-region): Handle multibyte characters, use
ps-mule-plot-string for them.
(ps-generate): Set the spool buffer unibyte.  Call ps-mule-begin.
1998-08-24 10:19:29 +00:00
Andrew Innes
200127fd0d (ps-do-despool): Bind ps-printer-name to printer-name if the former is
nil.
1998-07-13 19:58:49 +00:00
Richard M. Stallman
038205144e (ps-printer-name): New variable.
(ps-do-despool): Use it.
1998-07-03 19:54:30 +00:00
Andreas Schwab
ab2739aa47 (ps-print-control-characters): Use `other' widget
type.
1998-06-24 09:22:18 +00:00
Richard M. Stallman
7da17ab65f Fix spooled file bugs.
(ps-print-version): New version number (3.06.3) and doc fix.
(ps-page-postscript): New var.
(ps-begin-file): Initialize PostScript page number,
eliminate total page and line number.
(ps-begin-job): Eliminate PostScript Trailer section on spooled buffer,
initialize total page and line number.
(ps-end-file): Use PostScript page number.
(ps-header-page): Adjust header page.
(ps-generate): Adjust page and line count setting.
(ps-do-despool): Eliminate PostScript Trailer section setting.

(ps-generate): Call set-buffer-multibyte.
1998-06-08 17:25:09 +00:00
Richard M. Stallman
f68af055fb (ps-print-version): Doc fix.
(ps-print-prologue-1): Adjust doLineNumber PostScript function.
1998-05-23 20:20:48 +00:00
Richard M. Stallman
984e7bd979 (ps-file-end): Put Trailer and Pages before EndDoc.
(ps-print-control-characters): Doc fix.
1998-05-16 03:49:47 +00:00
Richard M. Stallman
7ae35a2f51 (ps-alist-position): Renamed from ps-position.
Look for ITEM as the car of an element.
(ps-font-number): Use ps-alist-position.
(ps-font-alist): Renamed from ps-font-list.
1998-05-08 22:26:43 +00:00
Richard M. Stallman
496725add1 (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.
1998-05-06 04:15:25 +00:00
Richard M. Stallman
6bdb808ecb Some doc fixes, eliminate (require cl).
(ps-print-version): New version number (3.06.1) and doc fix.
(ps-print-control-characters, ps-extend-face): Doc fix.
(ps-font-lock-face-attributes): Eliminate `pop'.
(ps-font): Eliminate `loop' and `return'.
(ps-fonts): Eliminate `loop'.
(ps-font-number): Replace `position' by `ps-position'.
(ps-select-font): Eliminate `flet'.
(ps-lookup, ps-size-scale): New macros.
(ps-output-string-prim): Handle multibyte characters.
(ps-position): New function.
(ps-begin-file): Eliminate `loop'.
(ps-header-page): Eliminate `incf'.
1998-05-06 04:06:30 +00:00
Eli Zaretskii
bb58920cd3 (ps-output-string-prim): Don't quote multibyte characters. 1998-04-28 13:53:50 +00:00
Eli Zaretskii
0140c6007b (ps-remove-duplicates): New function.
(ps-begin-file): Use it.
1998-04-28 13:50:24 +00:00
Richard M. Stallman
b61e2c11a2 (ps-output-string-prim): Use skip-chars-forward. 1998-04-18 02:01:12 +00:00
Eli Zaretskii
7ffaf65994 (ps-do-despool): Bind coding-system-for-write to
raw-text-unix.
1998-04-15 15:37:58 +00:00
Richard M. Stallman
12b88fff5f Some comment, doc and bug fixes.
(ps-print-version): New version number (3.06) and doc fix.
(ps-print-only-one-header, ps-font-type): New var.
(ps-font-info-database): Better font database management.
(ps-error-scale-font, ps-select-header-font): Funs eliminated.
(ps-font, ps-font-bold, ps-font-italic, ps-font-bold-italic)
(ps-avg-char-width, ps-space-width, ps-line-height)
(ps-header-font, ps-header-title-font, ps-header-line-height)
(ps-header-title-line-height): Vars eliminated.
(ps-font-list, ps-font, ps-fonts, ps-font-number, ps-line-height)
(ps-title-line-height, ps-space-width, ps-avg-char-width,): New funs.
(ps-print-prologue-1): Adjust PostScript programming.
(ps-color-format): Doc indentation.
(ps-print-hook, ps-print-begin-page-hook, ps-print-begin-column-hook):
New hook vars.
(ps-spool-without-faces, ps-spool-with-faces): Run hook var.
(ps-line-lengths-internal, ps-nb-pages, ps-select-font)
(ps-get-page-dimensions, ps-begin-file, ps-end-file, ps-header-page)
(ps-begin-page, ps-dummy-page, ps-next-line, ps-continue-line)
(ps-basic-plot-string, ps-basic-plot-whitespace, ps-plot-region)
(ps-control-character, ps-color-values, ps-generate): Adjust programming.
(ps-page-number): New macro.
(ps-plot-with-face, ps-generate-postscript-with-faces): Fix invisible
text printing.
1998-03-07 06:04:46 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Richard M. Stallman
857686a6d3 Some comment, doc and bug fixes.
(ps-print-version): New version number (3.05.3) and doc fix.
(ps-output-string-prim, ps-begin-job, ps-control-character)
(ps-plot-region): Bug fix.
(ps-print-control-characters): New custom var.
(ps-string-escape-codes, ps-string-control-codes): New var.
(ps-color-device, ps-font-lock-face-attributes, ps-eval-switch)
(ps-flatten-list, ps-flatten-list-1): New fn.
(ps-setup): Update current setup.
(ps-begin-file): Adjust PostScript header file.
(ps-plot, ps-face-attribute-list): Little programming improvement.
(ps-print-prologue-1): Replace NumberOfZebra by ZebraHeight.
(ps-print-without-faces, ps-print-with-faces): Little reprogramming.
(ps-plot-with-face): Get color only on color screen device.
(ps-build-reference-face-lists): Handle obsolete
font-lock-face-attributes.
(ps-print-ensure-fontified): Little programming setting.
(ps-generate-postscript-with-faces): Adjust initializations, get color
only on color screen device.
(ps-generate): Replace (if A B) by (and A B).
(ps-do-despool): Dynamic evaluation for ps-lpr-switches,
Replace (if A B) by (and A B).
(color-instance-rgb-components, ps-color-values): Replace
pixel-components by color-instance-rgb-components.
(ps-xemacs-face-kind-p): Replace face-font by face-font-instance,
replace x-font-properties by font-instance-properties.
1997-12-25 18:33:52 +00:00
Karl Heuer
1061ff16f4 Comment fix. 1997-11-23 02:30:00 +00:00
Karl Heuer
8bd22fcf0a Some comment and doc fixes.
(ps-print-version): New version number (3.05.2) and doc fix.
(ps-print, ps-header-lines, ps-show-n-of-n, ps-font-info-database)
(ps-font-family, ps-font-size, ps-header-font-family)
(ps-header-font-size, ps-header-title-font-size, ps-bold-faces)
(ps-italic-faces, ps-underlined-faces, ps-left-header, ps-right-header)
(ps-font, ps-font-bold, ps-font-italic, ps-font-bold-italic)
(ps-avg-char-width, ps-space-width, ps-line-height): Doc fix.
(ps-error-scale-font): New fn.
(ps-soft-lf, ps-hard-lf): Fn deleted.
(ps-get-page-dimensions, ps-set-bg, ps-face-bold-p, ps-face-italic-p)
(ps-set-color): Reindentation.
(ps-output-string-prim, ps-xemacs-face-kind-p): Internal blank lines
deleted.
(ps-set-font): Little programming improvement.
(ps-line-lengths-internal, ps-nb-pages, ps-select-font)
(ps-select-header-font): Simplify some expressions.
(ps-plot-region): Replace (- X 1) by (1- X).
(ps-generate-header): Replace (+ X 1) by (1+ X).
(ps-print-preprint, ps-plot-with-face, ps-print-ensure-fontified)
(ps-kill-emacs-check): Replace (if (and A B) C) by (and A B C).
(ps-init-output-queue, ps-gnus-article-prepare-hook, ps-jts-ps-setup):
Replace (setq a b)(setq c d) by (setq a b c d).
(ps-begin-file, ps-end-file): Replace (ps-output A)(ps-output B)
by (ps-output A B).
(ps-begin-page): Replace (ps-output A)(ps-output B) by (ps-output A B),
replace (setq a b)(setq c d) by (setq a b c d).
(ps-next-line, ps-continue-line): Replace (setq a b)(setq c d)
by (setq a b c d), and incorporates ps-soft-lf and ps-hard-lf,
respectively.
(ps-plot): Replace (setq a b)(setq c d) by (setq a b c d),
and programming improvement.
(ps-generate-postscript-with-faces): Initialization fix,
replace (setq a b)(setq c d) by (setq a b c d),
replace (if (and A B) C) by (and A B C).
(ps-generate): Doc fix, reprogramming to set the page count,
replace (setq a b)(setq c d) by (setq a b c d),
replace (if A nil B) by (or A B),
replace (if (and A B) C) by (and A B C).
(ps-info-mode-hook): Replace (list 'A 'B) by '(A B).
(ps-jack-setup): Replace (list) by nil.
1997-11-23 02:26:50 +00:00
Karl Heuer
35378a097b (ps-print-background-image): Fix customize type.
(ps-print-background-text): Likewise.
(ps-show-n-of-n): Doc fix.
1997-10-02 02:57:42 +00:00
Richard M. Stallman
06fb6aabb2 (ps-emacs-face-kind-p): Function deleted.
(ps-face-bold-p, ps-face-italic-p):
Check ps-bold-faces or ps-italic-faces.
(ps-zebra-stripes, ps-zebra-stripe-height): Doc fixes.
(ps-line-lengths, ps-nb-pages-buffer, ps-nb-pages-region, ps-setup): Doc fixes.
1997-09-11 23:51:29 +00:00
Richard M. Stallman
7f72c06f7f (ps-face-bold-p): Use face-bold-p.
(ps-face-italic-p): Use face-italic-p.
1997-09-09 07:33:12 +00:00
Richard M. Stallman
019612373c (ps-setup): ps-zebra-stripe => ps-zebra-stripes.
ps-number-of-zebra =>  ps-zebra-stripe-height.
1997-09-07 04:02:32 +00:00
Richard M. Stallman
a18ed1290d Some comment and doc fixes.
(ps-print-version): New version number (3.05.1).
(ps-adobe-tag): Replace defvar by defcustom, and doc fix.
(ps-print-with-faces, ps-print-without-faces)
(ps-spool-with-faces, ps-spool-without-faces): Add arg REGION-P.
(ps-print-region-with-faces, ps-print-region)
(ps-spool-region, ps-spool-region-with-faces): Fix calls to
the functions above.
(ps-setup): Print value of ps-zebra-stripe, ps-number-of-zebra,
ps-line-number, ps-print-background-image,
and ps-print-background-text.
(ps-print-prologue-1): Bug fix in PostScript programming:
/BeginDSCPage, /BeginPage.
(ps-showpage-count, ps-ref-bold-faces, ps-ref-italic-faces)
(ps-ref-underlined-faces, font-lock-face-attributes)
(ps-initialize-faces): Vars deleted.
(ps-override-list, ps-extension-to-bit-face)
(ps-extension-to-screen-face, ps-initialize-faces, ps-header-height)
(ps-hard-lf, ps-soft-lf, ps-get-face, ps-map-font-lock): Fn deleted.
(ps-extend-face-list, ps-extend-face): Doc fix.
(ps-print-face-alist): New var to handle face alist.
(ps-printing-region): New var and fn.
(ps-header-page, ps-set-face-bold, ps-set-face-italic)
(ps-set-face-underline, ps-set-face-attribute, ps-map-face): New fn.
(ps-rmail-mode-hook, ps-rmail-print-message-from-summary)
(ps-print-message-from-summary, ps-vm-print-message-from-summary):
Fns moved.
(ps-background): New argument PAGE-NUMBER.
(ps-begin-file): Bug fix and print proper line number in a region.
(ps-begin-page): Call ps-header-page.
(ps-get-buffer-name): Indicates in the header when printing a region.
(ps-end-page): Delete ps-showpage-count.
(ps-dummy-page): Calls ps-header-page.
(ps-set-color): Programming improvement.
(ps-plot-region): Doc fix.
(ps-face-attributes): Same functionality as deleted ps-get-face.
(ps-build-reference-face-lists): Do the job by calling
ps-set-face-bold and ps-bold-faces, and friends.
1997-09-06 02:52:00 +00:00
Richard M. Stallman
535efc3878 (ps-zebra-stripes): Renamed from ps-zebra-stripe.
(ps-zebra-stripe-height): Renamed from ps-number-of-zebra.
1997-08-23 06:51:42 +00:00
Richard M. Stallman
6c8f27539f (ps-print-face-extension-alist): Doc fix.
(ps-new-faces): Function deleted.
1997-08-20 23:15:22 +00:00
Richard M. Stallman
87a16a065d A lot of comment and doc fixes.
Replace: 'nil by nil, '() by nil, 't by t.

(ps-print-version): New version number (3.05).
(ps-zebra-stripe, ps-number-of-zebra, ps-line-number)
(ps-print-background-image, ps-print-background-text): New variables
to customize zebra stripes, line number, image background and text
background features, respectively.
(ps-adobe-tag): Tagged to PostScript level 3.
(ps-print-buffer, ps-print-buffer-with-faces)
(ps-print-region, ps-print-region-with-faces)
(ps-spool-buffer, ps-spool-buffer-with-faces)
(ps-spool-region, ps-spool-region-with-faces): Call more primitive
functions for PostScript printing (functions below).
(ps-print-with-faces, ps-print-without-faces)
(ps-spool-with-faces, ps-spool-without-faces): More primitive
functions for PostScript printing.
(ps-line-lengths, ps-nb-pages-buffer, ps-nb-pages-region)
(ps-line-lengths-internal, ps-nb-pages): Doc fixes.
(ps-print-prologue-1): a lot of PostScript programming:
/dobackgroundstring, /dounderline, /UL: Postscript functions deleted.
/reencodeFontISO, /F, /BG, /HL, /W, /S, /BeginDSCPage, /BeginPage,
/EndPage: adjusted for new effects (outline, shadow, etc).
/PLN, /EF, /Hline, /doBox, /doRect, /doShadow, /doOutline,
/FillBgColor, /doLineNumber, /printZebra, /doColumnZebra,
/doZebra, /BeginBackImage, /EndBackImage, /ShowBackText: New procedures.
(ps-current-underline-p, ps-set-underline): Var and fn deleted.
(ps-showline-count, ps-background-pages, ps-background-all-pages)
(ps-background-text-count, ps-background-image-count): New variables.
(ps-header-font, ps-header-title-font)
(ps-header-line-height, ps-header-title-line-height)
(ps-landscape-page-height): Set initial value to nil.
(ps-print-face-extension-alist, ps-print-face-map-alist):
New variables for face remapping.
(ps-new-faces, ps-extend-face-list, ps-extend-face):
New functions for face remapping.
(ps-override-list, ps-extension-to-bit-face)
(ps-extension-to-screen-face, ps-extension-bit)
(ps-initialize-faces, ps-map-font-lock, ps-screen-to-bit-face):
New internal functions for face remapping.
(ps-get-page-dimensions): Fix error message.
(ps-insert-file): Doc fix and programming enhancement.
(ps-begin-file, ps-end-file, ps-get-buffer-name, ps-begin-page)
(ps-next-line, ps-plot-region, ps-face-attributes)
(ps-face-attribute-list, ps-plot-with-face)
(ps-generate-postscript-with-faces): Handle new output features.
(ps-generate): save-excursion inserted to return back point at
position before calling ps-print.
(ps-do-spool): Access dos-ps-printer variable through symbol-value.
(ps-prsc, ps-c-prsc, ps-s-prsc): Use backquote.
(ps-basic-plot-whitespace, ps-emacs-face-kind-p): Internal blank
line eliminated.
(ps-float-format, ps-current-effect): New internal variables.
(ps-output-list, ps-count-lines, ps-background-pages)
(ps-get-boundingbox, ps-float-format, ps-background-text)
(ps-background-image, ps-background, ps-header-height)
(ps-get-face): New internal functions.
(ps-control-character): Handle control characters.
(ps-gnus-print-article-from-summary): Updated for Gnus 5.
(ps-jack-setup): Replace 'nil by nil, 't by t.
1997-08-20 23:11:35 +00:00
Richard M. Stallman
27f20fc120 Comment change. 1997-07-27 20:04:29 +00:00