| 1 |
%!PS-Adobe-3.0 Query |
| 2 |
%%Title: Program for dumping the page device dictionary to stdout |
| 3 |
%%Copyright: Copyright (C) 2000 by Martin Lottermoser. All rights reserved. |
| 4 |
%%Creator: Martin Lottermoser, Greifswaldstrasse 28, 38124 Braunschweig, Germany. E-mail: [email protected]. |
| 5 |
%%CreationDate: $Date: 2000/10/22 09:20:00 $ |
| 6 |
%%EndComments |
| 7 |
|
| 8 |
%****************************************************************************** |
| 9 |
|
| 10 |
%%?BeginQuery: dumppdd |
| 11 |
% @(#)$Id: dumppdd.ps,v 1.5 2000/10/22 09:20:00 Martin Rel $ |
| 12 |
|
| 13 |
%%BeginResource: procset mjl-sort 1.3 0 |
| 14 |
% @(#)$OriginalId: sort.ps,v 1.3 1997/10/21 04:50:37 mjl Exp $ |
| 15 |
/mjl-sort-dict where { pop } { /mjl-sort-dict 6 dict def mjl-sort-dict |
| 16 |
begin /temp1 100 string def /temp2 100 string def /Vergleich { dup type dup |
| 17 |
/integertype eq 1 index /realtype eq or 1 index /stringtype eq or exch pop |
| 18 |
not { temp2 cvs exch temp1 cvs exch } if le } def /SortierteKeys { dup length |
| 19 |
array 2 dict begin /a exch def /j 0 def { pop a j 3 -1 roll put /j j 1 add |
| 20 |
def } forall a end ArraySortieren } def /ArraySortieren { 1 dict begin /a |
| 21 |
exch def 0 a length 1 sub dup 0 gt {SubarraySortieren} {pop pop} ifelse a |
| 22 |
end } def /SubarraySortieren { 6 dict begin /rechts exch def /links exch |
| 23 |
def /i links def /j rechts def /Wert a links rechts add 2 idiv get def { |
| 24 |
{ Wert a i get Vergleich {exit} if /i i 1 add def } loop { a j get Wert |
| 25 |
Vergleich {exit} if /j j 1 sub def } loop i j le { /w a i get def a i a |
| 26 |
j get put a j w put /i i 1 add def /j j 1 sub def } if i j gt {exit} if } |
| 27 |
loop links j i rechts end dup 3 -1 roll dup 4 1 roll gt {SubarraySortieren} |
| 28 |
{pop pop} ifelse dup 3 -1 roll dup 4 1 roll gt {SubarraySortieren} {pop pop} |
| 29 |
ifelse } def end } ifelse |
| 30 |
%%EndResource |
| 31 |
|
| 32 |
%%BeginResource: procset glglMitDict 1.1 0 |
| 33 |
% @(#)$OriginalId: glglMitDict.ps,v 1.2 2000-07-23 18:52:39+02 Martin Exp $ |
| 34 |
% Copyright (C) 1999, 2000 by Martin Lottermoser. All rights reserved. |
| 35 |
/glglDict where {pop} { 10 dict begin /temp 200 string def /zeige_Leerzeichen |
| 36 |
{ {( ) print} repeat } def /Einrueckung 0 def /integertype { temp cvs print } |
| 37 |
def /nametype { (/) print temp cvs print } def /dicttype { (<<) = /Einrueckung |
| 38 |
Einrueckung 2 add def [ 1 index {pop} forall ] /mjl-sort-dict where { pop |
| 39 |
mjl-sort-dict begin ArraySortieren end } if { Einrueckung zeige_Leerzeichen |
| 40 |
dup zeige_Objekt not { Einrueckung 1 add zeige_Leerzeichen } if ( ) print 1 |
| 41 |
index exch get zeige_Objekt {() =} if } forall pop /Einrueckung Einrueckung |
| 42 |
2 sub def Einrueckung zeige_Leerzeichen (>>) print } def /zeige_Objekt { |
| 43 |
dup type glglDict 1 index known { glglDict exch get exec true } { pop == |
| 44 |
false } ifelse } bind def currentdict end /glglDict exch def /=== { glglDict |
| 45 |
begin zeige_Objekt {() =} if end } bind def } ifelse |
| 46 |
%%EndResource |
| 47 |
|
| 48 |
%------------------------------------------------------------------------------ |
| 49 |
|
| 50 |
() = |
| 51 |
(Current Page Device Dictionary Contents) = |
| 52 |
(=======================================) = |
| 53 |
|
| 54 |
currentpagedevice === |
| 55 |
|
| 56 |
%------------------------------------------------------------------------------ |
| 57 |
|
| 58 |
%%?EndQuery: Failed to access the PostScript interpreter. |
| 59 |
|
| 60 |
%****************************************************************************** |
| 61 |
|
| 62 |
%%EOF |