Commit graph

279 commits

Author SHA1 Message Date
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
Simon Marshall
a6c6e755bc Quote :group names. 1997-05-06 13:54:06 +00:00
Simon Marshall
055e7bf2d2 change all buffer-substring to buffer-substring-no-properties. 1997-04-28 11:25:26 +00:00