aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-08-29 10:51:52 +0000
committerGerd Moellmann2000-08-29 10:51:52 +0000
commitc3d6d211fe7ee91de4adf61d1f60b09cc9207271 (patch)
tree1effe8d3a8e006424b5dda9e82b9095cc1788a3e
parenta7f4e1b48d13bbacf6cbd6426ee9d27906c9368d (diff)
downloademacs-c3d6d211fe7ee91de4adf61d1f60b09cc9207271.tar.gz
emacs-c3d6d211fe7ee91de4adf61d1f60b09cc9207271.zip
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.
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/ps-print.el156
2 files changed, 118 insertions, 47 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 56f46e7bd27..a05fbc1ac61 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2
3 * ps-print.el: Even/odd pages printing. Doc fix.
4 (ps-print-version): New version number (6.0).
5 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
6 (ps-background, ps-begin-file, ps-begin-job): Code fix.
7 (ps-print-duplex-feature): Variable eliminated.
8 (ps-even-or-odd-pages): New variable.
9
12000-08-29 Kenichi Handa <handa@etl.go.jp> 102000-08-29 Kenichi Handa <handa@etl.go.jp>
2 11
3 * help.el (help-xref-mule-regexp): New variable. 12 * help.el (help-xref-mule-regexp): New variable.
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index b8fc112d6bb..9ac1b279a7f 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -9,11 +9,12 @@
9;; Maintainer: Kenichi Handa <handa@etl.go.jp> (multi-byte characters) 9;; Maintainer: Kenichi Handa <handa@etl.go.jp> (multi-byte characters)
10;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br> 10;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br>
11;; Keywords: wp, print, PostScript 11;; Keywords: wp, print, PostScript
12;; Time-stamp: <2000/07/28 21:47:57 vinicius> 12;; Time-stamp: <2000/08/21 20:12:18 vinicius>
13;; Version: 5.2.4 13;; Version: 6.0
14;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/Emacs.html
14 15
15(defconst ps-print-version "5.2.4" 16(defconst ps-print-version "6.0"
16 "ps-print.el, v 5.2.4 <2000/07/28 vinicius> 17 "ps-print.el, v 6.0 <2000/08/21 vinicius>
17 18
18Vinicius's last change version -- this file may have been edited as part of 19Vinicius's last change version -- this file may have been edited as part of
19Emacs without changes to the version number. When reporting bugs, please also 20Emacs without changes to the version number. When reporting bugs, please also
@@ -260,6 +261,18 @@ Please send all bug fixes and enhancements to
260;; latest selected pages by using `ps-last-selected-pages' or by calling 261;; latest selected pages by using `ps-last-selected-pages' or by calling
261;; `ps-restore-selected-pages' command (see it for documentation). 262;; `ps-restore-selected-pages' command (see it for documentation).
262;; 263;;
264;; The variable `ps-even-or-odd-pages' specifies if it prints even/odd pages.
265;;
266;; Valid values are:
267;;
268;; nil print all pages.
269;;
270;; even print only even pages.
271;;
272;; odd print only odd pages.
273;;
274;; Any other value is treated as nil. The default value is nil.
275;;
263;; 276;;
264;; Horizontal layout 277;; Horizontal layout
265;; ----------------- 278;; -----------------
@@ -448,8 +461,6 @@ Please send all bug fixes and enhancements to
448;; 461;;
449;; By default `ps-user-defined-prologue' is nil. 462;; By default `ps-user-defined-prologue' is nil.
450;; 463;;
451;; It's recommended to initiate and terminate the string with "\n".
452;;
453;; It's strongly recommended only insert PostScript code and/or comments 464;; It's strongly recommended only insert PostScript code and/or comments
454;; specific for your printing system particularities. For example, some special 465;; specific for your printing system particularities. For example, some special
455;; initialization that only your printing system needs. 466;; initialization that only your printing system needs.
@@ -461,6 +472,13 @@ Please send all bug fixes and enhancements to
461;; PostScript Language Reference Manual (2nd edition) 472;; PostScript Language Reference Manual (2nd edition)
462;; Adobe Systems Incorporated 473;; Adobe Systems Incorporated
463;; 474;;
475;; As an example for `ps-user-defined-prologue' setting:
476;;
477;; ;; Setting for HP PostScript printer
478;; (setq ps-user-defined-prologue
479;; (concat "<</DeferredMediaSelection true /PageSize [612 792] "
480;; "/MediaPosition 2 /MediaType (Plain)>> setpagedevice"))
481;;
464;; 482;;
465;; PostScript Error Handler 483;; PostScript Error Handler
466;; ------------------------ 484;; ------------------------
@@ -676,7 +694,7 @@ Please send all bug fixes and enhancements to
676;; of `ps-line-number-step' inclusive. 694;; of `ps-line-number-step' inclusive.
677;; 695;;
678;; * If `ps-line-number-step' is set to `zebra', must be between 1 and the 696;; * If `ps-line-number-step' is set to `zebra', must be between 1 and the
679;; value of `ps-zebra-strip-height' inclusive. 697;; value of `ps-zebra-stripe-height' inclusive.
680;; 698;;
681;; The default value is 1, so the line number of the first line of each interval 699;; The default value is 1, so the line number of the first line of each interval
682;; is printed. 700;; is printed.
@@ -896,8 +914,10 @@ Please send all bug fixes and enhancements to
896;; The PostScript file should be sent to YOUR PostScript printer. 914;; The PostScript file should be sent to YOUR PostScript printer.
897;; If you send it to ghostscript or to another PostScript printer, 915;; If you send it to ghostscript or to another PostScript printer,
898;; you may get slightly different results. 916;; you may get slightly different results.
899;; Anyway, as ghostscript fonts are autoload, you won't get 917;; Anyway, as ghostscript fonts are autoload, you won't get much font info.
900;; much font info. 918;;
919;; Note also that ps-print DOESN'T download any font to your printer, instead
920;; it uses the fonts resident in your printer.
901;; 921;;
902;; 922;;
903;; How Ps-Print Deals With Faces 923;; How Ps-Print Deals With Faces
@@ -1080,6 +1100,9 @@ Please send all bug fixes and enhancements to
1080;; 1100;;
1081;; [vinicius] Vinicius Jose Latorre <vinicius@cpqd.com.br> 1101;; [vinicius] Vinicius Jose Latorre <vinicius@cpqd.com.br>
1082;; 1102;;
1103;; 20000821
1104;; `ps-even-or-odd-pages'
1105;;
1083;; 20000617 1106;; 20000617
1084;; `ps-manual-feed', `ps-warn-paper-type', `ps-print-upside-down', 1107;; `ps-manual-feed', `ps-warn-paper-type', `ps-print-upside-down',
1085;; `ps-selected-pages', `ps-last-selected-pages', 1108;; `ps-selected-pages', `ps-last-selected-pages',
@@ -1194,6 +1217,9 @@ Please send all bug fixes and enhancements to
1194;; Acknowledgements 1217;; Acknowledgements
1195;; ---------------- 1218;; ----------------
1196;; 1219;;
1220;; Thanks to Gord Wait <Gord_Wait@spectrumsignal.com> for
1221;; `ps-user-defined-prologue' example setting for HP PostScript printer.
1222;;
1197;; Thanks to Paul Furnanz <pfurnanz@synopsys.com> for XEmacs compatibility 1223;; Thanks to Paul Furnanz <pfurnanz@synopsys.com> for XEmacs compatibility
1198;; suggestion for `ps-postscript-code-directory' variable. 1224;; suggestion for `ps-postscript-code-directory' variable.
1199;; 1225;;
@@ -1205,7 +1231,7 @@ Please send all bug fixes and enhancements to
1205;; for XEmacs beta-tests. 1231;; for XEmacs beta-tests.
1206;; 1232;;
1207;; Thanks to Klaus Berndl <klaus.berndl@sdm.de> for user defined PostScript 1233;; Thanks to Klaus Berndl <klaus.berndl@sdm.de> for user defined PostScript
1208;; prologue code suggestion. 1234;; prologue code suggestion and for odd/even printing suggestion.
1209;; 1235;;
1210;; Thanks to Kein'ichi Handa <handa@etl.go.jp> for multi-byte buffer handling. 1236;; Thanks to Kein'ichi Handa <handa@etl.go.jp> for multi-byte buffer handling.
1211;; 1237;;
@@ -1454,8 +1480,6 @@ prologue comments, and before ps-print PostScript prologue code section. That
1454is, this string is inserted after error handler initialization and before 1480is, this string is inserted after error handler initialization and before
1455ps-print settings. 1481ps-print settings.
1456 1482
1457It's recommended to initiate and terminate the string with \"\\n\".
1458
1459It's strongly recommended only insert PostScript code and/or comments specific 1483It's strongly recommended only insert PostScript code and/or comments specific
1460for your printing system particularities. For example, some special 1484for your printing system particularities. For example, some special
1461initialization that only your printing system needs. 1485initialization that only your printing system needs.
@@ -1465,7 +1489,15 @@ handles this in a suitable way.
1465 1489
1466For more information about PostScript, see: 1490For more information about PostScript, see:
1467 PostScript Language Reference Manual (2nd edition) 1491 PostScript Language Reference Manual (2nd edition)
1468 Adobe Systems Incorporated" 1492 Adobe Systems Incorporated
1493
1494As an example for `ps-user-defined-prologue' setting:
1495
1496 ;; Setting for HP PostScript printer
1497 (setq ps-user-defined-prologue
1498 (concat \"<</DeferredMediaSelection true /PageSize [612 792] \"
1499 \"/MediaPosition 2 /MediaType (Plain)>> setpagedevice\"))
1500"
1469 :type '(choice :menu-tag "User Defined Prologue" 1501 :type '(choice :menu-tag "User Defined Prologue"
1470 :tag "User Defined Prologue" 1502 :tag "User Defined Prologue"
1471 (const :tag "none" nil) string symbol) 1503 (const :tag "none" nil) string symbol)
@@ -1655,6 +1687,25 @@ it for documentation)."
1655 (integer :tag "To")))) 1687 (integer :tag "To"))))
1656 :group 'ps-print-page) 1688 :group 'ps-print-page)
1657 1689
1690(defcustom ps-even-or-odd-pages nil
1691 "*Specify if it prints even/odd pages.
1692
1693Valid values are:
1694
1695 nil print all pages.
1696
1697 `even' print only even pages.
1698
1699 `odd' print only odd pages.
1700
1701Any other value is treated as nil."
1702 :type '(choice :menu-tag "Print Even/Odd Pages"
1703 :tag "Print Even/Odd Pages"
1704 (const :tag "All Pages" nil)
1705 (const :tag "Only Even Pages" even)
1706 (const :tag "Only Odd Pages" odd))
1707 :group 'ps-print-page)
1708
1658(defcustom ps-print-control-characters 'control-8-bit 1709(defcustom ps-print-control-characters 'control-8-bit
1659 "*Specify the printable form for control and 8-bit characters. 1710 "*Specify the printable form for control and 8-bit characters.
1660That is, instead of sending, for example, a ^D (\\004) to printer, 1711That is, instead of sending, for example, a ^D (\\004) to printer,
@@ -2254,7 +2305,10 @@ To get the info for another specific font (say Helvetica), do the following:
2254 to get the line 2305 to get the line
2255 `3 cm 20 cm moveto 10/Helvetica ReportFontInfo showpage' 2306 `3 cm 20 cm moveto 10/Helvetica ReportFontInfo showpage'
2256- add the values to `ps-font-info-database'. 2307- add the values to `ps-font-info-database'.
2257You can get all the fonts of YOUR printer using `ReportAllFontInfo'." 2308You can get all the fonts of YOUR printer using `ReportAllFontInfo'.
2309
2310Note also that ps-print DOESN'T download any font to your printer, instead
2311it uses the fonts resident in your printer."
2258 :type '(repeat (list :tag "Font Definition" 2312 :type '(repeat (list :tag "Font Definition"
2259 (symbol :tag "Font Family") 2313 (symbol :tag "Font Family")
2260 (cons :format "%v" 2314 (cons :format "%v"
@@ -2715,6 +2769,7 @@ The table depends on the current ps-print setup."
2715 ps-header-font-size %s 2769 ps-header-font-size %s
2716 ps-header-title-font-size %s 2770 ps-header-title-font-size %s
2717 2771
2772 ps-even-or-odd-pages %s
2718 ps-selected-pages %s 2773 ps-selected-pages %s
2719 ps-last-selected-pages %s) 2774 ps-last-selected-pages %s)
2720 2775
@@ -2775,6 +2830,7 @@ The table depends on the current ps-print setup."
2775 (ps-print-quote ps-header-font-family) 2830 (ps-print-quote ps-header-font-family)
2776 (ps-print-quote ps-header-font-size) 2831 (ps-print-quote ps-header-font-size)
2777 (ps-print-quote ps-header-title-font-size) 2832 (ps-print-quote ps-header-title-font-size)
2833 (ps-print-quote ps-even-or-odd-pages)
2778 (ps-print-quote ps-selected-pages) 2834 (ps-print-quote ps-selected-pages)
2779 (ps-print-quote ps-last-selected-pages))) 2835 (ps-print-quote ps-last-selected-pages)))
2780 2836
@@ -2848,9 +2904,6 @@ The table depends on the current ps-print setup."
2848(defvar ps-print-prologue-2 "" 2904(defvar ps-print-prologue-2 ""
2849 "ps-print PostScript prologue end.") 2905 "ps-print PostScript prologue end.")
2850 2906
2851(defvar ps-print-duplex-feature ""
2852 "ps-print PostScript duplex feature.")
2853
2854;; Start Editing Here: 2907;; Start Editing Here:
2855 2908
2856(defvar ps-source-buffer nil) 2909(defvar ps-source-buffer nil)
@@ -3500,15 +3553,21 @@ page-height == bm + print-height + tm - ho - hh
3500 3553
3501 3554
3502(defsubst ps-print-page-p () 3555(defsubst ps-print-page-p ()
3503 (cond ((null ps-first-page)) 3556 (and (cond ((null ps-first-page))
3504 ((<= ps-page-postscript ps-last-page) 3557 ((<= ps-page-postscript ps-last-page)
3505 (<= ps-first-page ps-page-postscript)) 3558 (<= ps-first-page ps-page-postscript))
3506 (ps-selected-pages 3559 (ps-selected-pages
3507 (ps-selected-pages) 3560 (ps-selected-pages)
3508 (and (<= ps-first-page ps-page-postscript) 3561 (and (<= ps-first-page ps-page-postscript)
3509 (<= ps-page-postscript ps-last-page))) 3562 (<= ps-page-postscript ps-last-page)))
3510 (t 3563 (t
3511 nil))) 3564 nil))
3565 (cond ((eq ps-even-or-odd-pages 'even)
3566 (= (logand ps-page-postscript 1) 0))
3567 ((eq ps-even-or-odd-pages 'odd)
3568 (= (logand ps-page-postscript 1) 1))
3569 (t)
3570 )))
3512 3571
3513 3572
3514(defun ps-output (&rest args) 3573(defun ps-output (&rest args)
@@ -3653,7 +3712,7 @@ page-height == bm + print-height + tm - ho - hh
3653 (mapcar 3712 (mapcar
3654 #'(lambda (text) 3713 #'(lambda (text)
3655 (setq ps-background-text-count (1+ ps-background-text-count)) 3714 (setq ps-background-text-count (1+ ps-background-text-count))
3656 (ps-output (format "/ShowBackText-%d {\n" ps-background-text-count)) 3715 (ps-output (format "/ShowBackText-%d{\n" ps-background-text-count))
3657 (ps-output-string (nth 0 text)) ; text 3716 (ps-output-string (nth 0 text)) ; text
3658 (ps-output 3717 (ps-output
3659 "\n" 3718 "\n"
@@ -3664,7 +3723,7 @@ page-height == bm + print-height + tm - ho - hh
3664 (ps-float-format (nth 5 text) 0.85) ; gray 3723 (ps-float-format (nth 5 text) 0.85) ; gray
3665 (ps-float-format (nth 1 text) "0") ; x position 3724 (ps-float-format (nth 1 text) "0") ; x position
3666 (ps-float-format (nth 2 text) "0") ; y position 3725 (ps-float-format (nth 2 text) "0") ; y position
3667 "\nShowBackText} def\n") 3726 "\nShowBackText}def\n")
3668 (ps-background-pages (nthcdr 7 text) ; page list 3727 (ps-background-pages (nthcdr 7 text) ; page list
3669 (format "ShowBackText-%d\n" 3728 (format "ShowBackText-%d\n"
3670 ps-background-text-count))) 3729 ps-background-text-count)))
@@ -3678,7 +3737,7 @@ page-height == bm + print-height + tm - ho - hh
3678 (when (file-readable-p image-file) 3737 (when (file-readable-p image-file)
3679 (setq ps-background-image-count (1+ ps-background-image-count)) 3738 (setq ps-background-image-count (1+ ps-background-image-count))
3680 (ps-output 3739 (ps-output
3681 (format "/ShowBackImage-%d {\n--back-- " 3740 (format "/ShowBackImage-%d{\n--back-- "
3682 ps-background-image-count) 3741 ps-background-image-count)
3683 (ps-float-format (nth 5 image) 0.0) ; rotation 3742 (ps-float-format (nth 5 image) 0.0) ; rotation
3684 (ps-float-format (nth 3 image) 1.0) ; x scale 3743 (ps-float-format (nth 3 image) 1.0) ; x scale
@@ -3705,7 +3764,7 @@ page-height == bm + print-height + tm - ho - hh
3705 (- (+ (/ (- (aref box 3) (aref box 1)) 2.0) 3764 (- (+ (/ (- (aref box 3) (aref box 1)) 2.0)
3706 (aref box 1))))) 3765 (aref box 1)))))
3707 t))))) 3766 t)))))
3708 (ps-output "\nEndBackImage} def\n") 3767 (ps-output "\nEndBackImage}def\n")
3709 (ps-background-pages (nthcdr 6 image) ; page list 3768 (ps-background-pages (nthcdr 6 image) ; page list
3710 (format "ShowBackImage-%d\n" 3769 (format "ShowBackImage-%d\n"
3711 ps-background-image-count))))) 3770 ps-background-image-count)))))
@@ -3720,10 +3779,10 @@ page-height == bm + print-height + tm - ho - hh
3720 (if has-local-background 3779 (if has-local-background
3721 (ps-output (aref range 2)) 3780 (ps-output (aref range 2))
3722 (setq has-local-background t) 3781 (setq has-local-background t)
3723 (ps-output "/printLocalBackground {\n" 3782 (ps-output "/printLocalBackground{\n"
3724 (aref range 2))))) 3783 (aref range 2)))))
3725 ps-background-pages) 3784 ps-background-pages)
3726 (and has-local-background (ps-output "} def\n")))) 3785 (and has-local-background (ps-output "}def\n"))))
3727 3786
3728 3787
3729;; Return a list of the distinct elements of LIST. 3788;; Return a list of the distinct elements of LIST.
@@ -4272,8 +4331,6 @@ XSTART YSTART are the relative position for the first page in a sheet.")
4272 ps-spool-duplex 4331 ps-spool-duplex
4273 ps-switch-header)) 4332 ps-switch-header))
4274 (ps-output-boolean "ShowNofN " ps-show-n-of-n) 4333 (ps-output-boolean "ShowNofN " ps-show-n-of-n)
4275 (ps-output-boolean "DuplexValue " ps-spool-duplex)
4276 (ps-output-boolean "TumbleValue " tumble)
4277 4334
4278 (let ((line-height (ps-line-height 'ps-font-for-text))) 4335 (let ((line-height (ps-line-height 'ps-font-for-text)))
4279 (ps-output (format "/LineHeight %s def\n" line-height) 4336 (ps-output (format "/LineHeight %s def\n" line-height)
@@ -4332,15 +4389,15 @@ XSTART YSTART are the relative position for the first page in a sheet.")
4332 4389
4333 (ps-output "\n" ps-print-prologue-1) 4390 (ps-output "\n" ps-print-prologue-1)
4334 4391
4335 (ps-output "\n/printGlobalBackground {\n") 4392 (ps-output "\n/printGlobalBackground{\n")
4336 (ps-output-list ps-background-all-pages) 4393 (ps-output-list ps-background-all-pages)
4337 (ps-output "} def\n/printLocalBackground {\n} def\n") 4394 (ps-output "}def\n/printLocalBackground{\n}def\n")
4338 4395
4339 ;; Header fonts 4396 ;; Header fonts
4340 (ps-output (format "/h0 %s (%s) cvn DefFont\n" ; /h0 14 /Helvetica-Bold DefFont 4397 (ps-output (format "/h0 %s(%s)cvn DefFont\n" ; /h0 14 /Helvetica-Bold DefFont
4341 ps-header-title-font-size-internal 4398 ps-header-title-font-size-internal
4342 (ps-font 'ps-font-for-header 'bold)) 4399 (ps-font 'ps-font-for-header 'bold))
4343 (format "/h1 %s (%s) cvn DefFont\n" ; /h1 12 /Helvetica DefFont 4400 (format "/h1 %s(%s)cvn DefFont\n" ; /h1 12 /Helvetica DefFont
4344 ps-header-font-size-internal 4401 ps-header-font-size-internal
4345 (ps-font 'ps-font-for-header 'normal))) 4402 (ps-font 'ps-font-for-header 'normal)))
4346 4403
@@ -4350,7 +4407,7 @@ XSTART YSTART are the relative position for the first page in a sheet.")
4350 (let ((font (ps-font-alist 'ps-font-for-text)) 4407 (let ((font (ps-font-alist 'ps-font-for-text))
4351 (i 0)) 4408 (i 0))
4352 (while font 4409 (while font
4353 (ps-output (format "/f%d %s (%s) cvn DefFont\n" 4410 (ps-output (format "/f%d %s(%s)cvn DefFont\n"
4354 i 4411 i
4355 ps-font-size-internal 4412 ps-font-size-internal
4356 (ps-font 'ps-font-for-text (car (car font))))) 4413 (ps-font 'ps-font-for-text (car (car font)))))
@@ -4367,9 +4424,15 @@ XSTART YSTART are the relative position for the first page in a sheet.")
4367 (ps-boolean-capitalized ps-spool-duplex) 4424 (ps-boolean-capitalized ps-spool-duplex)
4368 " *Tumble " 4425 " *Tumble "
4369 (ps-boolean-capitalized tumble) 4426 (ps-boolean-capitalized tumble)
4370 "\n\n" 4427 "\nUseSetpagedevice\n{BMark/Duplex "
4371 ps-print-duplex-feature 4428 (ps-boolean-constant ps-spool-duplex)
4372 "\n%%EndFeature\n"))) 4429 "/Tumble "
4430 (ps-boolean-constant tumble)
4431 " EMark setpagedevice}\n{statusdict begin "
4432 (ps-boolean-constant ps-spool-duplex)
4433 " setduplexmode "
4434 (ps-boolean-constant tumble)
4435 " settumble end}ifelse\n%%EndFeature\n")))
4373 (ps-output "\n%%BeginFeature: *ManualFeed " 4436 (ps-output "\n%%BeginFeature: *ManualFeed "
4374 (ps-boolean-capitalized ps-manual-feed) 4437 (ps-boolean-capitalized ps-manual-feed)
4375 "\nBMark /ManualFeed " 4438 "\nBMark /ManualFeed "
@@ -4456,11 +4519,10 @@ XSTART YSTART are the relative position for the first page in a sheet.")
4456 (setq ps-postscript-code-directory 4519 (setq ps-postscript-code-directory
4457 (concat ps-postscript-code-directory "/")))) 4520 (concat ps-postscript-code-directory "/"))))
4458 (or (equal ps-mark-code-directory ps-postscript-code-directory) 4521 (or (equal ps-mark-code-directory ps-postscript-code-directory)
4459 (setq ps-print-prologue-0 (ps-prologue-file 0) 4522 (setq ps-print-prologue-0 (ps-prologue-file 0)
4460 ps-print-prologue-1 (ps-prologue-file 1) 4523 ps-print-prologue-1 (ps-prologue-file 1)
4461 ps-print-prologue-2 (ps-prologue-file 2) 4524 ps-print-prologue-2 (ps-prologue-file 2)
4462 ps-print-duplex-feature (ps-prologue-file 3) 4525 ps-mark-code-directory ps-postscript-code-directory))
4463 ps-mark-code-directory ps-postscript-code-directory))
4464 ;; selected pages 4526 ;; selected pages
4465 (let (new page) 4527 (let (new page)
4466 (while ps-selected-pages 4528 (while ps-selected-pages