diff options
| author | Gerd Moellmann | 2000-03-15 13:39:10 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-03-15 13:39:10 +0000 |
| commit | 58ce180df9675c95c3bbd8f5c1fa35dd013a75b6 (patch) | |
| tree | 196e8df30ad33cfc7258d3cd61d09000b56f76c0 | |
| parent | 66e63857d6ac370a0d50d91168e6649c535882d6 (diff) | |
| download | emacs-58ce180df9675c95c3bbd8f5c1fa35dd013a75b6.tar.gz emacs-58ce180df9675c95c3bbd8f5c1fa35dd013a75b6.zip | |
Eliminate CheckConfig.
| -rw-r--r-- | etc/ps-prin1.ps | 24 | ||||
| -rw-r--r-- | etc/ps-prin3.ps | 10 |
2 files changed, 5 insertions, 29 deletions
diff --git a/etc/ps-prin1.ps b/etc/ps-prin1.ps index e3401b1d2b7..a5bc1f44eae 100644 --- a/etc/ps-prin1.ps +++ b/etc/ps-prin1.ps | |||
| @@ -389,9 +389,7 @@ StandardEncoding 46 82 getinterval aload pop | |||
| 389 | /docState save def | 389 | /docState save def |
| 390 | % ---- [andrewi] set PageSize based on chosen dimensions | 390 | % ---- [andrewi] set PageSize based on chosen dimensions |
| 391 | UseSetpagedevice{ | 391 | UseSetpagedevice{ |
| 392 | 0 | 392 | << /PageSize [PageWidth LandscapePageHeight] >> setpagedevice |
| 393 | {<< /PageSize [PageWidth LandscapePageHeight] >> setpagedevice} | ||
| 394 | CheckConfig | ||
| 395 | }{ | 393 | }{ |
| 396 | LandscapeMode{ | 394 | LandscapeMode{ |
| 397 | % ---- translate to bottom-right corner of Portrait page | 395 | % ---- translate to bottom-right corner of Portrait page |
| @@ -695,24 +693,4 @@ StandardEncoding 46 82 getinterval aload pop | |||
| 695 | % 3 cm 20 cm moveto 10 /Courier ReportFontInfo showpage | 693 | % 3 cm 20 cm moveto 10 /Courier ReportFontInfo showpage |
| 696 | % 3 cm 20 cm moveto ReportAllFontInfo showpage | 694 | % 3 cm 20 cm moveto ReportAllFontInfo showpage |
| 697 | 695 | ||
| 698 | /ErrorMessages | ||
| 699 | [(This PostScript printer is not configured with this document page size.) | ||
| 700 | (Duplex printing is not supported on this PostScript printer.)]def | ||
| 701 | |||
| 702 | % stack: error-index proc |- -- | ||
| 703 | /CheckConfig{ | ||
| 704 | stopped{ | ||
| 705 | 1 cm LandscapePageHeight 0.5 mul moveto | ||
| 706 | /Courier findfont 10 scalefont setfont | ||
| 707 | gsave | ||
| 708 | (ps-print error:) show | ||
| 709 | grestore | ||
| 710 | 0 -10 rmoveto | ||
| 711 | ErrorMessages exch get show | ||
| 712 | showpage | ||
| 713 | $error /newerror false put | ||
| 714 | stop | ||
| 715 | }if | ||
| 716 | }bind def | ||
| 717 | |||
| 718 | % === END ps-print prologue 1 | 696 | % === END ps-print prologue 1 |
diff --git a/etc/ps-prin3.ps b/etc/ps-prin3.ps index c1da3503a78..9e916e81c44 100644 --- a/etc/ps-prin3.ps +++ b/etc/ps-prin3.ps | |||
| @@ -1,14 +1,12 @@ | |||
| 1 | % === BEGIN ps-print prologue 3 | 1 | % === BEGIN ps-print prologue 3 |
| 2 | 2 | ||
| 3 | % --- duplex feature verification | 3 | % --- duplex feature verification |
| 4 | 1 | ||
| 5 | UseSetpagedevice { | 4 | UseSetpagedevice { |
| 6 | {<< /Duplex DuplexValue /Tumble TumbleValue >> setpagedevice} | 5 | << /Duplex DuplexValue /Tumble TumbleValue >> setpagedevice |
| 7 | }{ | 6 | }{ |
| 8 | {statusdict begin | 7 | statusdict begin |
| 9 | DuplexValue setduplexmode TumbleValue settumble | 8 | DuplexValue setduplexmode TumbleValue settumble |
| 10 | end} | 9 | end |
| 11 | }ifelse | 10 | }ifelse |
| 12 | CheckConfig | ||
| 13 | 11 | ||
| 14 | % === END ps-print prologue 3 | 12 | % === END ps-print prologue 3 |