[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.139.69.53: ~ $
%!
%    Copyright (C) 1989, 1992, 1993 Aladdin Enterprises.  All rights reserved.
%
% This file is part of Ghostscript.
%
% Ghostscript is distributed in the hope that it will be useful, but
% WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
% to anyone for the consequences of using it or for whether it serves any
% particular purpose or works at all, unless he says so in writing.  Refer
% to the Ghostscript General Public License for full details.
%
% Everyone is granted permission to copy, modify and redistribute
% Ghostscript, but only under the conditions described in the Ghostscript
% General Public License.  A copy of this license is supposed to have been
% given to you along with Ghostscript so you can know your rights and
% responsibilities.  It should be in a file named COPYING.  Among other
% things, the copyright notice and this notice must be preserved on all
% copies.

% dmp_init.ps
%   Initialization file for `dmprt' device driver.
%
%   Written initial version by...         ASAYAMA Kazunori  1993 Nov.
%   Modified for Ghostscript 4.03 by ...  ASAYAMA Kazunori  1997 May.

%%%%%                        check version                         %%%%%

201 % version of this initialization file.

/dmprt finddevice { /DmprtParams gsgetdeviceprop /Version get }
  stopped { pop pop 0 } if
2 copy ne {
  (\ndmprt: driver version\() print
  dup 0 eq {pop (unknown) print }{==only}ifelse
  (\) does not match dmp_init.ps version\() print
  ==only (\).\n) print
  flush 1 .quit
} { pop pop } ifelse

%%%%%                            BODY                              %%%%%

40 dict begin         % .WorkDict .UserParams
                      % .DmprtDevice
                      % .GetDmprtParam .SetDmprtParam
                      % .DmprtParams .Xdpi .Ydpi .Xdot .Ydot
                      %
                      % in cm mm pt bp dot
                      % BeginMode EndMode
                      % .ModeDataBase .CurrentMode
                      % BeginConfig EndConfig
                      % BeginPrinterProps EndPrinterProps

/.WorkDict currentdict def
/.ModeDataBase 10 dict def
/.dicttomark {
  counttomark 2 idiv dup dict begin { def } repeat pop currentdict end
} bind def

%%%%%                utilities for user customization.             %%%%%

/in { } bind def
/cm { 2.54 div } bind def
/mm { 25.4 div } bind def
/pt { 72.27 div } bind def
/bp { 72.0 div } bind def
/dot { [ exch truncate cvi ] } bind def

% the database of user customizations. (not implemented yet.)
/BeginMode { % <name> -> <name> mark
  mark
} bind def
/EndMode { % <name> mark <item1> <value1> ... <itemN> <valueN> -> --
  .dicttomark .ModeDataBase
  dup dup maxlength exch length eq {
    % Expand capacity of database dictionaly.
    dup maxlength 10 add dict copy dup /.ModeDataBase exch def
  } if
  3 1 roll put
} bind def

% these procedures are undocumented in the user's manual.
% these are used in order to specify the propaties directly.
/BeginPrinterProps { [ } bind def
/EndPrinterProps { ] /printer exch } bind def

%%%%%                run the user customization file.              %%%%%

/BeginConfig mark def
/EndConfig { .dicttomark /.UserParams exch def } bind def
systemdict /DMPCONFIG 2 copy known
{ get run }    % -sDMPCONFIG=<filename>
{ pop pop (dmp_site.ps) findlibfile { closefile run } if } ifelse

%%%%%                        refer database                        %%%%%

/.UsedMode .ModeDataBase length dict def
/.ExpandUserParams { % <dict> -> <param1> <value1> ... <paramN> <valueN>
  /.InheritMode null def
  { 1 index /inherit eq {
      exch pop dup .UsedMode exch known { % check recursive reference.
        /.ExpandUserParams /rangecheck signalerror
      } if
      /.InheritMode exch def
    } if } forall
  .InheritMode type /nametype eq {
    .UsedMode .InheritMode true put
    .ModeDataBase .InheritMode get .ExpandUserParams
  } if
} bind def

systemdict /DMPMODE 2 copy known
  {get .ModeDataBase exch get} {pop pop .UserParams} ifelse
mark exch .ExpandUserParams .dicttomark /.UserParams exch def

%%%%%                Local variables and procedures.               %%%%%
/.DmprtDevice /dmprt finddevice def
/.SetDmprtParam {   % <key> <value> -> --
  .DmprtParams 3 1 roll put
} bind def
/.SetLocalParam { .LocalParams 3 1 roll put } bind def
/.GetDmprtParam {   % <key> -> <value>
  .DmprtParams exch get
} bind def
/.GetUserParam {       % <key> <default-value> -> <value>
  .UserParams 3 -1 roll 2 copy known {get exch pop}{pop pop} ifelse
} bind def
/.SetUserParam { % <prop-name> <key> <default-value> -> --
  .GetUserParam .SetDmprtParam
} bind def

%%%%%                     dviprt proparties                        %%%%%

mark
.UserParams /printer 2 copy known {
  get dup type /dicttype ne { mark /FileName 3 -1 roll .dicttomark } if
}
{ pop pop % Default printer is `ESC/P 24 pins'.
    mark
    /Name          (ESC/P 24 pins)
    /Transpose     true
    /Reverse       false
    /NonMoving     false
    /Encoding      (Null)
    /HDpi           180
    /VDpi           180
    /Pins          24
    /MinimalUnit   1
    /MaximalUnit   180
    /Constant      1
    /BitImageMode  (\007\0333\030\033?Z\047)
    /NormalMode    (\004\015\014\0332)
    /SendBitImage  (\002\033Z\002\001\200)
    /SkipSpaces    (\002\033\\\002\001\200)
    /LineFeed      (\002\015\012)
    /FormFeed      (\002\015\014)
    /AfterBitImage ()
    /BitRowHeader  ()
    .dicttomark
} ifelse
/DviprtParams exch .DmprtDevice putdeviceprops

getdeviceprops .dicttomark /.DmprtParams exch def
.DmprtParams /DviprtParams get /.DviprtParams exch def
.DmprtParams /DmprtParams get /.LocalParams exch def

% calcurate resolutions and define operators converting
% from user-coordination to device-coordination(count by dots).
/resolution [ .DviprtParams dup /HDpi get exch /VDpi get ]
  .GetUserParam {} forall /.Ydpi exch def /.Xdpi exch def
/.Xdot { dup type /arraytype eq { 0 get } { .Xdpi mul truncate cvi } ifelse
} bind def
/.Ydot { dup type /arraytype eq { 0 get } { .Ydpi mul truncate cvi } ifelse
} bind def

%%%%%           Standard Ghostscript device propaties.             %%%%%

/HWSize  % default is A4.
  /defaultsize [8.3 11.7] .GetUserParam
  [ exch dup 0 get .Xdot exch 1 get .Ydot ] .SetDmprtParam

%%%%%                   dmprt device propaties.                    %%%%%

/MaxSize
  /maxsize [0.0 0.0] .GetUserParam [ exch dup 0 get .Xdot exch 1 get .Ydot ]
  .SetLocalParam
/Margins /margin [0.0 0.0 0.0 0.0] .GetUserParam
  [ exch dup 0 get .Xdot exch dup 1 get .Ydot
    exch dup 2 get .Xdot exch     3 get .Ydot ] .SetLocalParam
/Verbose QUIET {false}
  {/verbose false .GetUserParam} ifelse .SetLocalParam
/Debug /debug false .GetUserParam .SetLocalParam

%%%%%                   Page device propaties.                     %%%%%
%%%%%         See PostScript Reference Manual 2nd edition.         %%%%%

/HWResolution [ .Xdpi .Ydpi ] .SetDmprtParam
/Offsets
  /offset [0.0 0.0] .GetUserParam [ exch dup 0 get .Xdot exch 1 get .Ydot ]
  .SetLocalParam

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

mark .DmprtParams {} forall .DmprtDevice putdeviceprops pop

end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%   End of file   %%%%%%%%%%%%%%%%%%%%%%%%%%%

Filemanager

Name Type Size Permission Actions
PDFA_def.ps File 1.25 KB 0644
PDFX_def.ps File 1.77 KB 0644
PM760p.upp File 1.13 KB 0644
PM760pl.upp File 1.1 KB 0644
PM820p.upp File 1.12 KB 0644
PM820pl.upp File 1.09 KB 0644
Stc670p.upp File 1.13 KB 0644
Stc670pl.upp File 1.1 KB 0644
Stc680p.upp File 1.11 KB 0644
Stc680pl.upp File 1.09 KB 0644
Stc740p.upp File 1.01 KB 0644
Stc740pl.upp File 1.09 KB 0644
Stc760p.upp File 1.11 KB 0644
Stc760pl.upp File 1.09 KB 0644
Stc777p.upp File 1.11 KB 0644
Stc777pl.upp File 1.09 KB 0644
Stp720p.upp File 1.13 KB 0644
Stp720pl.upp File 1.09 KB 0644
Stp870p.upp File 1.11 KB 0644
Stp870pl.upp File 1.09 KB 0644
acctest.ps File 4.17 KB 0644
align.ps File 2.11 KB 0644
bj8.rpd File 639 B 0644
bj8gc12f.upp File 1.5 KB 0644
bj8hg12f.upp File 1.5 KB 0644
bj8oh06n.upp File 1.48 KB 0644
bj8pa06n.upp File 1.49 KB 0644
bj8pp12f.upp File 1.51 KB 0644
bj8ts06n.upp File 1.49 KB 0644
bjc6000a1.upp File 1.62 KB 0644
bjc6000b1.upp File 1.62 KB 0644
bjc610a0.upp File 1.49 KB 0644
bjc610a1.upp File 1.48 KB 0644
bjc610a2.upp File 1.48 KB 0644
bjc610a3.upp File 1.49 KB 0644
bjc610a4.upp File 1.49 KB 0644
bjc610a5.upp File 1.48 KB 0644
bjc610a6.upp File 1.48 KB 0644
bjc610a7.upp File 1.48 KB 0644
bjc610a8.upp File 1.49 KB 0644
bjc610b1.upp File 1.48 KB 0644
bjc610b2.upp File 1.48 KB 0644
bjc610b3.upp File 1.49 KB 0644
bjc610b4.upp File 1.49 KB 0644
bjc610b6.upp File 1.48 KB 0644
bjc610b7.upp File 1.49 KB 0644
bjc610b8.upp File 1.49 KB 0644
caption.ps File 1.72 KB 0644
cbjc600.ppd File 10.89 KB 0644
cbjc800.ppd File 11.22 KB 0644
cdj550.upp File 1.65 KB 0644
cdj690.upp File 1.95 KB 0644
cdj690ec.upp File 2.01 KB 0644
cid2code.ps File 4.39 KB 0644
dmp_init.ps File 7.08 KB 0644
dmp_site.ps File 459 B 0644
dnj750c.upp File 2.74 KB 0644
dnj750m.upp File 1.93 KB 0644
docie.ps File 7.32 KB 0644
escp_24.src File 350 B 0644
font2pcl.ps File 18.01 KB 0644
ghostpdf.ppd File 25.04 KB 0644
gs_ce_e.ps File 2.17 KB 0644
gs_il2_e.ps File 2.57 KB 0644
gs_kanji.ps File 3.91 KB 0644
gs_ksb_e.ps File 3.07 KB 0644
gs_l.xbm File 1.9 KB 0644
gs_l.xpm File 2.69 KB 0644
gs_l_m.xbm File 1.91 KB 0644
gs_lgo_e.ps File 2.67 KB 0644
gs_lgx_e.ps File 1.72 KB 0644
gs_m.xbm File 945 B 0644
gs_m.xpm File 1.4 KB 0644
gs_m_m.xbm File 955 B 0644
gs_s.xbm File 594 B 0644
gs_s.xpm File 957 B 0644
gs_s_m.xbm File 604 B 0644
gs_t.xbm File 345 B 0644
gs_t.xpm File 605 B 0644
gs_t_m.xbm File 355 B 0644
gs_wl1_e.ps File 2.44 KB 0644
gs_wl2_e.ps File 2.44 KB 0644
gs_wl5_e.ps File 2.45 KB 0644
gslp.ps File 20.24 KB 0644
gsnup.ps File 2.57 KB 0644
ht_ccsto.ps File 222.8 KB 0644
image-qa.ps File 71.34 KB 0644
jispaper.ps File 784 B 0644
landscap.ps File 1.43 KB 0644
lines.ps File 3.65 KB 0644
mkcidfm.ps File 21.8 KB 0644
necp2x.upp File 1.02 KB 0644
necp2x6.upp File 1.04 KB 0644
pdf2dsc.ps File 7.87 KB 0644
pf2afm.ps File 14.94 KB 0644
pfbtopfa.ps File 995 B 0644
ppath.ps File 1.78 KB 0644
pphs.ps File 6.68 KB 0644
prfont.ps File 7.04 KB 0644
printafm.ps File 4.78 KB 0644
ps2ai.ps File 21.78 KB 0644
ps2epsi.ps File 8.34 KB 0644
ras1.upp File 215 B 0644
ras24.upp File 219 B 0644
ras3.upp File 214 B 0644
ras32.upp File 196 B 0644
ras4.upp File 220 B 0644
ras8m.upp File 209 B 0644
rollconv.ps File 12.23 KB 0644
s400a1.upp File 1.42 KB 0644
s400b1.upp File 1.57 KB 0644
sharp.upp File 1.89 KB 0644
sipixa6.upp File 529 B 0644
st640ih.upp File 2.23 KB 0644
st640ihg.upp File 1.47 KB 0644
st640p.upp File 1.87 KB 0644
st640pg.upp File 1.11 KB 0644
st640pl.upp File 1.83 KB 0644
st640plg.upp File 1.08 KB 0644
stc.upp File 1.88 KB 0644
stc1520h.upp File 2.1 KB 0644
stc2.upp File 1.86 KB 0644
stc200_h.upp File 1.8 KB 0644
stc2_h.upp File 1.83 KB 0644
stc2s_h.upp File 2.22 KB 0644
stc300.upp File 2.09 KB 0644
stc300bl.upp File 1.31 KB 0644
stc300bm.upp File 1.4 KB 0644
stc500p.upp File 1.86 KB 0644
stc500ph.upp File 1.86 KB 0644
stc600ih.upp File 2.23 KB 0644
stc600p.upp File 1.12 KB 0644
stc600pl.upp File 1.09 KB 0644
stc640p.upp File 1.07 KB 0644
stc740ih.upp File 2.07 KB 0644
stc800ih.upp File 2.11 KB 0644
stc800p.upp File 1.09 KB 0644
stc800pl.upp File 1.07 KB 0644
stc_h.upp File 1.87 KB 0644
stc_l.upp File 734 B 0644
stcany.upp File 673 B 0644
stcany_h.upp File 681 B 0644
stcinfo.ps File 24.92 KB 0644
stcolor.ps File 4.95 KB 0644
stocht.ps File 2.44 KB 0644
traceimg.ps File 1.35 KB 0644
traceop.ps File 2.51 KB 0644
uninfo.ps File 5.85 KB 0644
viewcmyk.ps File 1.94 KB 0644
viewgif.ps File 5.27 KB 0644
viewjpeg.ps File 5.56 KB 0644
viewmiff.ps File 4.15 KB 0644
viewpbm.ps File 10.04 KB 0644
viewpcx.ps File 5.11 KB 0644
viewps2a.ps File 1.11 KB 0644
winmaps.ps File 3.52 KB 0644
zeroline.ps File 2.26 KB 0644