home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2000 March
/
VPR0003B.ISO
/
support
/
usprndrv
/
alpha
/
pscript4.dll
/
259
/
39
< prev
next >
Wrap
Text File
|
1999-10-14
|
2KB
|
30 lines
%%BeginResource: file Pscript_Nup 5.0 0
U `/realshowpage 0 d/$m matrix d/nx_nup 0 d/ny_nup 0 d/pagew_nup 0 d/pageh_nup
0 d/paperw_nup 0 d/paperh_nup 0 d/nups 0 d/pgx_nup 0 d/pgy_nup 0 d
/papermarg_nup 1 d/pagemarg_nup 10 d/framenup T d/nupv 5 array d/xoffset 0 d
/yoffset 0 d/borderlinewidth 0 d/nupangle 0 d E/definenup{/LH/nupshowpage ld
nupv astore !/pgx_nup 0 store/pgy_nup 0 store}bd/startnup{/pgy_nup ~ store
/pgx_nup ~ store nupv aload !/ny_nup ~ store/nx_nup ~ store/pageh_nup ~ store
/pagew_nup ~ store/borderlinewidth ~ store @/nupangle ~ store R clippath/nups
pathbbox 3 -1 $ sub papermarg_nup sub ny_nup V pagemarg_nup sub pageh_nup V ~ 3
-1 $ sub papermarg_nup sub nx_nup V pagemarg_nup sub pagew_nup V 2 copy gt{~}if
! store nups @ +S/paperw_nup pagew_nup pagemarg_nup nups V add store/paperh_nup
pageh_nup pagemarg_nup nups V add store pathbbox $m aload ! pagemarg_nup nups V
@ 8 ^ 11 ^ sub paperh_nup ny_nup mul sub add 2 V ~ 9 ^ 12 ^ sub paperw_nup
nx_nup mul sub add 2 V 7 ^ 0 eq{8 -4 $ 4 2 $ 8 4 $}if 8 -2 $ add 0 gt{9}{neg 7}
? ^ add 4 -1 $ sub ~ 5 -2 $ add 0 gt{5}{neg 3}? ^ add 3 -1 $ sub 2 copy/yoffset
~ store/xoffset ~ store + ! ! ! !/paperw_nup paperw_nup paperh_nup $m
idtransform abs/paperh_nup ~ store abs store/pagew_nup pagew_nup pageh_nup $m
idtransform abs/pageh_nup ~ store abs store $m 0 get abs $m 1 get abs lt{
/nx_nup ny_nup/ny_nup nx_nup store store}if borderlinewidth 0 gt{.48 nups V @
/borderlinewidth ~ store Lw}{/framenup F d}? $m concat pgx_nup paperw_nup mul
pgy_nup paperh_nup mul + $m matrix invertmatrix concat N startpage}bd/reinitnup
{startnup}bd/startpage{: 0 0 $m transform pagew_nup pageh_nup $m dtransform rc}
bd/realshowpage/LH ld/nupshowpage{; $m concat framenup{pagemarg_nup 2 V nups V
@ $m idtransform abs neg ~ abs neg ~ paperw_nup paperh_nup rs}if/pgx_nup
pgx_nup 1 add @ nx_nup eq{! 0 store paperw_nup 1 nx_nup sub mul/pgy_nup pgy_nup
1 add @ ny_nup eq{! 0 store paperh_nup 1 ny_nup sub mul}{store paperh_nup}?}
{store paperw_nup 0}? + $m matrix invertmatrix concat startpage}bd/finalpage{;
realshowpage/LH/realshowpage ld}bd
%%EndResource