1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

151 Commits

Author SHA1 Message Date
Vinicius Jose Latorre
c033ddefa5 ps-setup 2004-11-21 22:52:46 +00:00
Vinicius Jose Latorre
b6d0ac875c :version & eval-and-compile & featurep 2004-11-21 22:30:00 +00:00
Vinicius Jose Latorre
47a97a6db3 Tiny change. 2004-07-27 02:10:51 +00:00
Vinicius Jose Latorre
9586e1d3a4 Improve DSC compliance. 2004-07-23 01:16:06 +00:00
Vinicius Jose Latorre
3a50445455 Comment doc string of defalias 2004-06-16 00:03:26 +00:00
Kenichi Handa
edf2174ff3 Fix typos (kein'ichi -> ken'ichi). 2004-06-05 02:39:03 +00:00
Vinicius Jose Latorre
cfb7b9ce93 New fun. 2004-05-06 04:34:38 +00:00
Vinicius Jose Latorre
208ccc30da New fun. 2004-05-06 04:29:32 +00:00
Vinicius Jose Latorre
1ed43c8ea6 New fun. 2004-05-06 04:00:05 +00:00
Vinicius Jose Latorre
bd20e8cd66 New fun. 2004-05-06 03:47:19 +00:00
Vinicius Jose Latorre
51138c946f New fun. 2004-05-06 03:21:04 +00:00
Vinicius Jose Latorre
197d4ebcbc Modification to print *Messages* buffer. 2004-03-10 22:56:45 +00:00
Vinicius Jose Latorre
71efd3c473 Doc fix. 2004-03-02 04:54:04 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Vinicius Jose Latorre
e22ba851aa Print line number correctly in a region. 2003-07-10 22:29:13 +00:00
Vinicius Jose Latorre
edf0b0c5ec Avoid unnecessary calls to funs in header and footer variables 2003-05-15 02:32:03 +00:00
Juanma Barranquero
d730a5ac5f (ps-zebra-stripe-follow): Don't quote nil and t in docstrings. 2003-05-06 17:53:37 +00:00
Vinicius Jose Latorre
e59d29d6b7 Check if background and foreground color are the same. 2003-03-06 01:54:17 +00:00
Juanma Barranquero
c794a94d9a Change the policy of background/foreground default color.
(ps-print-version): New version number (6.5.9).
(ps-default-fg, ps-default-bg): Adjust default value.
(ps-begin-file, ps-begin-job): ps-default-fg and ps-default-bg variables now use
`t' to indicate the use of Emacs session background/foreground color.
(ps-output-string-prim): If index out of range, insert hexadecimal
representation of character.
2003-02-13 11:57:42 +00:00
Richard M. Stallman
eafa92bfe0 (ps-print-emacs-type): Error if ps-print is
activated in Epoch, inLucid or in Emacs v19 or lesser.
Value can no longer be `lucid'.
(ps-print-version): New version number (6.5.8).
(faces): Never do (require 'faces).
2002-09-29 03:30:41 +00:00
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