Server IP : 85.214.239.14 / Your IP : 18.189.192.214 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/share/ghostscript/10.00.0/lib/ |
Upload File : |
%! % landscap.ps % % This file can be prepended to most PostScript pages to force % rotation to "landscape" mode. % % There are (at least) four possible ways to reasonably position a % page after rotation. Any of the four old corners (llx,lly e.g.) % can be moved to match the corresonding new corner. % By uncommmenting the appropriate line below (i.e., remove the % leading '%'), any such positioning can be chosen for positive or % negative rotation. The comments at the end of each "rotate" line % indicate the ORIGINAL corner to be aligned. For example, as given % below, the lower left hand corner is aligned. When viewed, this % corner will have moved to the urx,lly corner. % % originally by James E. Burns, 3/8/93, burns@nova.bellcore.com % gsave clippath pathbbox grestore 4 dict begin /ury exch def /urx exch def /lly exch def /llx exch def %90 rotate llx neg ury neg translate % llx,ury 90 rotate llx neg llx urx sub lly sub translate % llx,lly %90 rotate ury lly sub urx sub ury neg translate % urx,ury %90 rotate ury lly sub urx sub llx urx sub lly sub translate % urx,lly %-90 rotate urx neg lly neg translate % urx,lly %-90 rotate urx neg urx llx sub ury sub translate % urx,ury %-90 rotate llx lly add ury sub urx llx sub ury sub translate % llx,ury %-90 rotate llx lly add ury sub lly neg translate % llx,lly end