HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/share/pslib/grid.ps
% grid.ps
% This file contains a page hook to draw a grid on each page
% The PslibPageStartHook command expects to find the following on the stack.
% page number
% ury (upper right corner of page, y coordinate)
% urx (upper right corner of page, x coordinate)
% lly (lower left corner of page, y coordinate)
% llx (lower left corner of page, x coordinate)
% Use 'B' to define the command
/PslibPageBeginHook{
  /pagenumber exch def /ury exch def /urx exch def /lly exch def /llx exch def
	0.7 setgray
	0 72 urx { dup 0 moveto ury lineto stroke } for
	0 72 ury { dup 0 exch moveto urx exch lineto stroke } for
	0.0 setgray
  /Helvetica findfont 8 scalefont setfont
	0 72 urx { dup 2 add 2 moveto 72 div 10 (aaaaaaaaaa) cvrs show ('') show } for
	72 72 ury { dup 2 add 2 exch moveto 72 div 10 (aaaaaaaaaa) cvrs show ('') show } for
} B