aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ps-print.el
Commit message (Collapse)AuthorAgeFilesLines
* (ps-print-prologue-1): Only use old LandscapeMode handling ifAndrew Innes1998-11-111-13/+11
| | | | | | setpagedevice is not available. (ps-begin-file): Fix typo.
* (ps-print-prologue-1): In BeginDoc procedure, call setpagedevice toAndrew Innes1998-11-091-5/+12
| | | | | | | | | 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.
* Doc fixes.Karl Heuer1998-10-261-19/+19
|
* User option for multibyte buffer handling and doc fix.Karl Heuer1998-10-261-398/+569
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (ps-mule-chars-in-string): No need to use sref.Richard M. Stallman1998-10-171-3/+3
| | | | | (ps-mule-string-char): No need to use sref. (ps-mule-next-index): No need to use sref.
* (ps-print-buffer): Doc fix.Richard M. Stallman1998-10-151-7/+5
| | | | (ps-despool): Likewise.
* (ps-print-buffer): Doc fix.Richard M. Stallman1998-10-141-4/+4
|
* Test for set-buffer-multibyte rather than using mule-version.Karl Heuer1998-09-231-2/+1
|
* Skip invisible overlay.Karl Heuer1998-09-231-28/+17
| | | | | (ps-print-version): New version number (4.1) and doc fix. (ps-generate-postscript-with-faces): Skip invisible overlay.
* (ps-font-info-database): Add missing dots in value.Andreas Schwab1998-09-181-8/+14
| | | | Improve layout of customize type.
* To make it work also on Emacs 20.2 and the earlierKenichi Handa1998-09-071-1/+1
| | | | version, check the value of mule-version.
* (ps-mule-font-info-database-bdf): The include ASCIIKenichi Handa1998-09-021-31/+59
| | | | | | | | | | | | | | | | 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.
* (ps-print-control-characters): Doc-string modified.Kenichi Handa1998-08-281-10/+15
| | | | | (ps-output-string-prim): Comment format changed. (ps-do-despool): Indentation of source code changed.
* Multi-byte buffer handling.Kenichi Handa1998-08-241-76/+1166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (ps-do-despool): Bind ps-printer-name to printer-name if the former isAndrew Innes1998-07-131-6/+7
| | | | nil.
* (ps-printer-name): New variable.Richard M. Stallman1998-07-031-4/+39
| | | | (ps-do-despool): Use it.
* (ps-print-control-characters): Use `other' widgetAndreas Schwab1998-06-241-1/+1
| | | | type.
* Fix spooled file bugs.Richard M. Stallman1998-06-081-31/+38
| | | | | | | | | | | | | | | (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.
* (ps-print-version): Doc fix.Richard M. Stallman1998-05-231-17/+21
| | | | (ps-print-prologue-1): Adjust doLineNumber PostScript function.
* (ps-file-end): Put Trailer and Pages before EndDoc.Richard M. Stallman1998-05-161-11/+11
| | | | (ps-print-control-characters): Doc fix.
* (ps-alist-position): Renamed from ps-position.Richard M. Stallman1998-05-081-7/+7
| | | | | | Look for ITEM as the car of an element. (ps-font-number): Use ps-alist-position. (ps-font-alist): Renamed from ps-font-list.
* (ps-header-title-font-size): Doc fix.Richard M. Stallman1998-05-061-17/+16
| | | | | (ps-print-control-characters, ps-setup, ps-header-pad): Doc fixes. (ps-printing-region, ps-nb-pages): Doc fixes.
* Some doc fixes, eliminate (require cl).Richard M. Stallman1998-05-061-47/+93
| | | | | | | | | | | | | | | (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'.
* (ps-output-string-prim): Don't quote multibyte characters.Eli Zaretskii1998-04-281-2/+4
|
* (ps-remove-duplicates): New function.Eli Zaretskii1998-04-281-3/+12
| | | | (ps-begin-file): Use it.
* (ps-output-string-prim): Use skip-chars-forward.Richard M. Stallman1998-04-181-3/+5
|
* (ps-do-despool): Bind coding-system-for-write toEli Zaretskii1998-04-151-6/+7
| | | | raw-text-unix.
* Some comment, doc and bug fixes.Richard M. Stallman1998-03-071-255/+454
| | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* Changed font-lock-reference-face to font-lock-constant-face.Simon Marshall1998-02-201-1/+1
|
* Some comment, doc and bug fixes.Richard M. Stallman1997-12-251-94/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* Comment fix.Karl Heuer1997-11-231-1/+1
|
* Some comment and doc fixes.Karl Heuer1997-11-231-281/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (ps-print-background-image): Fix customize type.Karl Heuer1997-10-021-3/+24
| | | | | (ps-print-background-text): Likewise. (ps-show-n-of-n): Doc fix.
* (ps-emacs-face-kind-p): Function deleted.Richard M. Stallman1997-09-111-42/+30
| | | | | | | (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.
* (ps-face-bold-p): Use face-bold-p.Richard M. Stallman1997-09-091-4/+3
| | | | (ps-face-italic-p): Use face-italic-p.
* (ps-setup): ps-zebra-stripe => ps-zebra-stripes.Richard M. Stallman1997-09-071-9/+9
| | | | ps-number-of-zebra => ps-zebra-stripe-height.
* Some comment and doc fixes.Richard M. Stallman1997-09-061-274/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (ps-zebra-stripes): Renamed from ps-zebra-stripe.Richard M. Stallman1997-08-231-25/+20
| | | | (ps-zebra-stripe-height): Renamed from ps-number-of-zebra.
* (ps-print-face-extension-alist): Doc fix.Richard M. Stallman1997-08-201-64/+6
| | | | (ps-new-faces): Function deleted.
* A lot of comment and doc fixes.Richard M. Stallman1997-08-201-419/+1284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Comment change.Richard M. Stallman1997-07-271-2/+3
|
* Quote :group names.Simon Marshall1997-05-061-2/+2
|
* change all buffer-substring to buffer-substring-no-properties.Simon Marshall1997-04-281-5/+5
|
* (ps-print-color-p): Fix minor error.Richard M. Stallman1997-04-131-1/+1
|
* Fix second copy of Duthen's email address.Richard M. Stallman1997-04-121-1/+1
|
* Add defgroup's; change use defcustom for user vars.Richard M. Stallman1997-04-121-84/+216
|
* Change email address.Richard M. Stallman1997-04-111-1/+1
|
* (ps-print-header): Doc fix.Richard M. Stallman1997-01-301-2/+2
|
* (ps-print-version): Fix value.Richard M. Stallman1997-01-161-106/+62
| | | | | | | | | | | | | | (cl lisp-float-type): Require them. (ps-number-of-columns ps-*-font-size): Try to select defaults better suited when `ps-landscape-mode' is non-nil. (ps-*-faces): Change default for Font Lock mode faces when `ps-print-color-p' is nil. (ps-right-header): Replace `time-stamp-yy/mm/dd' by `time-stamp-mon-dd-yyyy'. (ps-end-file ps-begin-page): Fix bug in page count for Ghostview. (ps-generate-postscript-with-faces): Replace `ps-sorter' by `car-less-than-car'. (ps-plot ps-generate): Replace `%d' by `%3d'.
* (ps-print-prologue-1): Fix bug in postscript comment lines.Richard M. Stallman1996-09-281-369/+1230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ps-nb-pages): Call ps-setup _before_ switching to the other buffer, because of buffer variables. Major rewrite. (ps-page-dimensions-database, ps-paper-type): Replace the following global variables: (ps-a4-page-height, ps-a4-page-width, ps-legal-page-height, ps-legal-page-width, ps-letter-page-height, ps-letter-page-width, ps-pages-alist, ps-page-dimensions): Variables deleted. (ps-page-height-i, ps-page-width-i): Variables deleted. (ps-print-prologue): Variable deleted. (ps-print-prologue-1, ps-print-prologue-2): New variables. Major rewrite of the postscript code to handle landscape mode, multiple columns and new font management. (ps-landscape-mode, ps-number-of-columns, ps-inter-column): New variables. Add landscape mode and multiple columns with interspacing. (ps-font-info-database, ps-font-family, ps-font-size, ps-header-font-family, ps-header-font-size, ps-header-title-font, ps-header-title-font-size): New variables. New font management interface. (ps-header-line-pad, ps-header-offset): New variables. (ps-header-font, ps-landscape-page-height): New internal variables. (ps-top-margin): Change its semantics. It is now really the top margin, not anymore twice the top margin. (/ReportAllFontInfo): New postscript function to get all the font families of the printer. (ps-setup): New function. (ps-line-lengths, ps-nb-pages-buffer, ps-nb-pages-region): New utility functions. (ps-page-dimensions-get-width, ps-page-dimensions-get-height): New macros. (/HeaderOffset): Fix bug with /PrintStartY. (/SetHeaderLines): Fix bug.