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