GRAYBYTE WORDPRESS FILE MANAGER6432

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/share/ghostscript/lib/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/share/ghostscript/lib//pdf2dsc.ps
% Copyright (C) 2001-2019 Artifex Software, Inc.
% All Rights Reserved.
%
% This software is provided AS-IS with no warranty, either express or
% implied.
%
% This software is distributed under license and may not be copied,
% modified or distributed except as expressly authorized under the terms
% of the license contained in the file LICENSE in this distribution.
%
% Refer to licensing information at http://www.artifex.com or contact
% Artifex Software, Inc.,  1305 Grant Avenue - Suite 200, Novato,
% CA 94945, U.S.A., +1(415)492-9861, for further information.
%

% pdf2dsc.ps
% read pdf file and produce DSC "index" file.
%
% Input  file is named PDFname
% Output file is named DSCname
%
% Run using:
%  gs -dNODISPLAY -sPDFname=pdffilename -sDSCname=tempfilename pdf2dsc.ps
% Then display the PDF file with
%  gs tempfilename
%
% Modified by Jason McCarty, bug 688071
%       Add PageLabels support.
% Modified by Geoff Keating <geoffk@ozemail.com.au> 21/12/98:
%	Add DocumentMedia, PageMedia comments
%	Use inherited BoundingBox and Orientation
%	Reformat, add new macro 'puts', generally clean up
% Modified by Johannes Plass <plass@dipmza.physik.uni-mainz.de> 1996-11-05:
%	Adds BoundingBox and Orientation if available.
% Modified by rjl/lpd 9/19/96
%	Updates for compatibility with modified pdf_*.ps code for handling
%	  page ranges (i.e., partial files) better.
% Modified by Geoff Keating <Geoff.Keating@anu.edu.au> 7/3/96:
%	include Title and CreationDate DSC comments (these are displayed by
%	  Ghostview);
%	reduce the size of typical output files by a factor of about 3.
% Modified by L. Peter Deutsch 3/18/96:
%	Removes unnecessary and error-prone code duplicated from pdf_main.ps
% Modified by L. Peter Deutsch for GS 3.33
% Originally by Russell Lang  1995-04-26

/PDFfile PDFname (r) file def
/DSCfile DSCname (w) file def
systemdict /.setsafe known { .setsafe } if

/puts { DSCfile exch writestring } bind def
/DSCstring 255 string def
/MediaTypes 10 dict def

   PDFfile runpdfbegin
   /FirstPage where { pop } { /FirstPage 1 def } ifelse
   /LastPage where { pop } { /LastPage pdfpagecount def } ifelse

% scan through for media sizes, keep them in the dictionary
   FirstPage 1 LastPage {
      pdfgetpage /MediaBox pget pop   % MediaBox is a required attribute
      aload pop
      3 -1 roll sub 3 1 roll exch sub exch
      2 array astore
      aload 3 1 roll 10 string cvs exch 10 string cvs
      (x) 3 -1 roll concatstrings concatstrings cvn
      MediaTypes 3 1 roll exch put
   } for

% write header and prolog
   (%!PS-Adobe-3.0\n) puts
   Trailer /Info knownoget
    {
      dup /Title knownoget
       {
         (%%Title: ) puts
         DSCfile exch write==
       }
      if
      /CreationDate knownoget
       {
         (%%CreationDate: ) puts
         DSCfile exch write==
       }
      if
    }
   if
   % This is really supposed to be sorted by frequency of usage...
   (%%DocumentMedia: )
   MediaTypes {
      exch pop
      1 index puts
      (y) puts dup 1 get DSCstring cvs puts
      (x) puts dup 0 get DSCstring cvs puts
      ( ) puts dup 0 get DSCstring cvs puts
      ( ) puts 1 get DSCstring cvs puts
      ( 70 white ()\n) puts
      pop (%%+ )
   } forall
   pop

   (%%Pages: ) puts
   LastPage FirstPage sub 1 add DSCstring cvs puts
   (\n%%EndComments\n) puts
   (%%BeginProlog\n) puts
   (/Page null def\n/Page# 0 def\n/PDFSave null def\n) puts
   (/DSCPageCount 0 def\n) puts
   (/DoPDFPage {dup /Page# exch store dup dopdfpages } def\n) puts
   (%%EndProlog\n) puts
   (%%BeginSetup\n) puts
   DSCfile PDFname write==only
   ( \(r\) file { DELAYSAFER { .setsafe } if } stopped pop\n) puts
   ( runpdfbegin\n) puts
   ( process_trailer_attrs\n) puts
   (%%EndSetup\n) puts

   /.hasPageLabels false def % see "Page Labels" in the PDF Reference
   Trailer /Root knownoget {
     /PageLabels knownoget {
       /PageLabels exch def
       /.pageCounter 1 def
       /.pageCounterType /D def
       /.pagePrefix () def

       % (TEXT)  .ToLower  (text)  -- convert text to lowercase -- only letters!
       /.ToLower {
         dup length 1 sub  -1 0 {
           1 index exch 2 copy get 2#00100000 or put
         } for
       } def

       % int  .CvAlpha  (int in alphabetic base 26)  -- convert a positive
       % integer to base 26 in capital letters, with 1=A; i.e. A..Z, AA..AZ, ...
       /.CvAlpha { % using cvrs seems futile since this isn't zero-based ...
         [ exch % construct an array of ASCII values, in reverse
         { % the remainder stays on the top of stack
           dup 0 eq { pop exit } if % quit if the value is zero
           dup 26 mod dup 0 eq { 26 add } if % so that the division is correct
           dup 64 add 3 1 roll sub 26 idiv % save the ASCII value and iterate
         } loop ]
         dup length dup string 3 1 roll
         dup -1 1 { % put the letters in a string
           4 copy sub exch 4 -1 roll 1 sub get put
         } for pop pop
       } def

       % int  .CvRoman  (int in capital Roman numerals)
       % convert a positive integer to capital Roman numerals
       % return a decimal string if >= 4000
       /.CvRoman {
         dup DSCstring cvs % start with the decimal representation
         exch 4000 lt { % convert only if Roman numerals can represent this
           dup length
           [ [ () (I) (II) (III) (IV) (V) (VI) (VII) (VIII) (IX) ]
             [ () (X) (XX) (XXX) (XL) (L) (LX) (LXX) (LXXX) (XC) ]
             [ () (C) (CC) (CCC) (CD) (D) (DC) (DCC) (DCCC) (CM) ]
             [ () (M) (MM) (MMM) ] ] % Roman equivalents
           () % append the Roman equivalent of each decimal digit to this string
           2 index  -1 1 {
             2 index 1 index 1 sub get
             5 index 5 index 4 -1 roll sub get
             48 sub get concatstrings
           } for
           4 1 roll pop pop pop
         } if
       } def

       /PageToString <<
         /D { DSCstring cvs }
         /R { .CvRoman }
         /r { .CvRoman .ToLower }
         /A { .CvAlpha }
         /a { .CvAlpha .ToLower }
       >> def
       /.hasPageLabels true def
     } if
   } if

   % process each page
   FirstPage 1 LastPage {
       (%%Page: ) puts

       .hasPageLabels {
         dup 1 sub PageLabels exch numoget dup null ne {
           % page labels changed at this page, reset the values
           dup /S known { dup /S get } { null } ifelse
           /.pageCounterType exch def

           dup /P known { dup /P get } { () } ifelse
           /.pagePrefix exch def

           dup /St known { /St get } { pop 1 } ifelse
           /.pageCounter exch def
         } { pop } ifelse

         % output the page label
         (\() .pagePrefix
         .pageCounterType //null ne dup {
           PageToString .pageCounterType known and
         } if { % format the page number
           .pageCounter dup 0 gt { % don't try to format nonpositive numbers
             PageToString .pageCounterType get exec
           } {
             DSCstring cvs
          } ifelse
         } { () } ifelse
         (\)) concatstrings concatstrings concatstrings puts

         /.pageCounter .pageCounter 1 add def
       } {
         dup DSCstring cvs puts
       } ifelse
       ( ) puts
       dup DSCstring cvs puts
       (\n) puts

       dup pdfgetpage
       dup /MediaBox pget pop
         (%%PageMedia: y) puts
         aload pop 3 -1 roll sub DSCstring cvs puts
         (x) puts exch sub DSCstring cvs puts
         (\n) puts
       dup /CropBox pget {
         (%%PageBoundingBox: ) puts
         {DSCfile exch write=only ( ) puts} forall
         (\n) puts
       } if
       /Rotate pget {
         (%%PageOrientation: ) puts
         90 div cvi 4 mod dup 0 lt {4 add} if
         [(Portrait) (Landscape) (UpsideDown) (Seascape)] exch get puts
         (\n) puts
       } if

       DSCfile exch DSCstring cvs writestring
       ( DoPDFPage\n) puts
    } for
    runpdfend
% write trailer
(%%Trailer\n) puts
(runpdfend\n) puts
(%%EOF\n) puts
% close output file and exit
DSCfile closefile
quit
% end of pdf2dsc.ps

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 03 2025 02:48:16
root / root
0755
PDFA_def.ps
1.246 KB
June 03 2025 02:48:11
root / root
0644
PDFX_def.ps
1.77 KB
June 03 2025 02:48:11
root / root
0644
PM760p.upp
1.133 KB
June 03 2025 02:48:15
root / root
0644
PM760pl.upp
1.098 KB
June 03 2025 02:48:15
root / root
0644
PM820p.upp
1.115 KB
June 03 2025 02:48:15
root / root
0644
PM820pl.upp
1.091 KB
June 03 2025 02:48:15
root / root
0644
Stc670p.upp
1.132 KB
June 03 2025 02:48:15
root / root
0644
Stc670pl.upp
1.098 KB
June 03 2025 02:48:15
root / root
0644
Stc680p.upp
1.113 KB
June 03 2025 02:48:15
root / root
0644
Stc680pl.upp
1.089 KB
June 03 2025 02:48:15
root / root
0644
Stc740p.upp
1.015 KB
June 03 2025 02:48:15
root / root
0644
Stc740pl.upp
1.089 KB
June 03 2025 02:48:15
root / root
0644
Stc760p.upp
1.114 KB
June 03 2025 02:48:15
root / root
0644
Stc760pl.upp
1.089 KB
June 03 2025 02:48:15
root / root
0644
Stc777p.upp
1.113 KB
June 03 2025 02:48:15
root / root
0644
Stc777pl.upp
1.089 KB
June 03 2025 02:48:15
root / root
0644
Stp720p.upp
1.131 KB
June 03 2025 02:48:15
root / root
0644
Stp720pl.upp
1.089 KB
June 03 2025 02:48:15
root / root
0644
Stp870p.upp
1.113 KB
June 03 2025 02:48:15
root / root
0644
Stp870pl.upp
1.089 KB
June 03 2025 02:48:15
root / root
0644
acctest.ps
4.169 KB
June 03 2025 02:48:11
root / root
0644
align.ps
2.105 KB
June 03 2025 02:48:11
root / root
0644
bj8.rpd
0.624 KB
June 03 2025 02:48:12
root / root
0644
bj8gc12f.upp
1.496 KB
June 03 2025 02:48:12
root / root
0644
bj8hg12f.upp
1.495 KB
June 03 2025 02:48:12
root / root
0644
bj8oh06n.upp
1.481 KB
June 03 2025 02:48:12
root / root
0644
bj8pa06n.upp
1.489 KB
June 03 2025 02:48:12
root / root
0644
bj8pp12f.upp
1.506 KB
June 03 2025 02:48:12
root / root
0644
bj8ts06n.upp
1.494 KB
June 03 2025 02:48:12
root / root
0644
bjc6000a1.upp
1.621 KB
June 03 2025 02:48:15
root / root
0644
bjc6000b1.upp
1.621 KB
June 03 2025 02:48:15
root / root
0644
bjc610a0.upp
1.491 KB
June 03 2025 02:48:12
root / root
0644
bjc610a1.upp
1.48 KB
June 03 2025 02:48:12
root / root
0644
bjc610a2.upp
1.481 KB
June 03 2025 02:48:12
root / root
0644
bjc610a3.upp
1.486 KB
June 03 2025 02:48:12
root / root
0644
bjc610a4.upp
1.494 KB
June 03 2025 02:48:12
root / root
0644
bjc610a5.upp
1.481 KB
June 03 2025 02:48:12
root / root
0644
bjc610a6.upp
1.481 KB
June 03 2025 02:48:12
root / root
0644
bjc610a7.upp
1.484 KB
June 03 2025 02:48:12
root / root
0644
bjc610a8.upp
1.49 KB
June 03 2025 02:48:12
root / root
0644
bjc610b1.upp
1.48 KB
June 03 2025 02:48:12
root / root
0644
bjc610b2.upp
1.481 KB
June 03 2025 02:48:12
root / root
0644
bjc610b3.upp
1.486 KB
June 03 2025 02:48:12
root / root
0644
bjc610b4.upp
1.494 KB
June 03 2025 02:48:12
root / root
0644
bjc610b6.upp
1.481 KB
June 03 2025 02:48:12
root / root
0644
bjc610b7.upp
1.485 KB
June 03 2025 02:48:12
root / root
0644
bjc610b8.upp
1.49 KB
June 03 2025 02:48:12
root / root
0644
caption.ps
1.718 KB
June 03 2025 02:48:11
root / root
0644
cbjc600.ppd
10.887 KB
June 03 2025 02:48:11
root / root
0644
cbjc800.ppd
11.222 KB
June 03 2025 02:48:12
root / root
0644
cdj550.upp
1.65 KB
June 03 2025 02:48:12
root / root
0644
cdj690.upp
1.952 KB
June 03 2025 02:48:12
root / root
0644
cdj690ec.upp
2.012 KB
June 03 2025 02:48:12
root / root
0644
cid2code.ps
4.386 KB
June 03 2025 02:48:11
root / root
0644
dmp_init.ps
7.076 KB
June 03 2025 02:48:15
root / root
0644
dmp_site.ps
0.448 KB
June 03 2025 02:48:15
root / root
0644
dnj750c.upp
2.742 KB
June 03 2025 02:48:12
root / root
0644
dnj750m.upp
1.929 KB
June 03 2025 02:48:12
root / root
0644
docie.ps
7.322 KB
June 03 2025 02:48:11
root / root
0644
escp_24.src
0.342 KB
June 03 2025 02:48:15
root / root
0644
font2pcl.ps
18.007 KB
June 03 2025 02:48:11
root / root
0644
ghostpdf.ppd
25.042 KB
June 03 2025 02:48:12
root / root
0644
gs_ce_e.ps
2.167 KB
June 03 2025 02:48:11
root / root
0644
gs_il2_e.ps
2.569 KB
June 03 2025 02:48:11
root / root
0644
gs_kanji.ps
3.913 KB
June 03 2025 02:48:11
root / root
0644
gs_ksb_e.ps
3.071 KB
June 03 2025 02:48:11
root / root
0644
gs_l.xbm
1.899 KB
June 03 2025 02:48:12
root / root
0644
gs_l.xpm
2.687 KB
June 03 2025 02:48:12
root / root
0644
gs_l_m.xbm
1.909 KB
June 03 2025 02:48:12
root / root
0644
gs_lgo_e.ps
2.67 KB
June 03 2025 02:48:11
root / root
0644
gs_lgx_e.ps
1.725 KB
June 03 2025 02:48:11
root / root
0644
gs_m.xbm
0.923 KB
June 03 2025 02:48:12
root / root
0644
gs_m.xpm
1.403 KB
June 03 2025 02:48:12
root / root
0644
gs_m_m.xbm
0.933 KB
June 03 2025 02:48:12
root / root
0644
gs_s.xbm
0.58 KB
June 03 2025 02:48:12
root / root
0644
gs_s.xpm
0.935 KB
June 03 2025 02:48:12
root / root
0644
gs_s_m.xbm
0.59 KB
June 03 2025 02:48:12
root / root
0644
gs_t.xbm
0.337 KB
June 03 2025 02:48:12
root / root
0644
gs_t.xpm
0.591 KB
June 03 2025 02:48:12
root / root
0644
gs_t_m.xbm
0.347 KB
June 03 2025 02:48:12
root / root
0644
gs_wl1_e.ps
2.437 KB
June 03 2025 02:48:11
root / root
0644
gs_wl2_e.ps
2.436 KB
June 03 2025 02:48:11
root / root
0644
gs_wl5_e.ps
2.453 KB
June 03 2025 02:48:11
root / root
0644
gslp.ps
20.242 KB
June 03 2025 02:48:11
root / root
0644
gsnup.ps
2.572 KB
June 03 2025 02:48:11
root / root
0644
ht_ccsto.ps
222.796 KB
June 03 2025 02:48:11
root / root
0644
image-qa.ps
71.338 KB
June 03 2025 02:48:11
root / root
0644
jispaper.ps
0.766 KB
June 03 2025 02:48:11
root / root
0644
landscap.ps
1.434 KB
June 03 2025 02:48:11
root / root
0644
lines.ps
3.648 KB
June 03 2025 02:48:11
root / root
0644
mkcidfm.ps
21.798 KB
June 03 2025 02:48:11
root / root
0644
necp2x.upp
1.021 KB
June 03 2025 02:48:12
root / root
0644
necp2x6.upp
1.044 KB
June 03 2025 02:48:12
root / root
0644
pdf2dsc.ps
7.874 KB
June 03 2025 02:48:11
root / root
0644
pf2afm.ps
14.937 KB
June 03 2025 02:48:11
root / root
0644
pfbtopfa.ps
0.973 KB
June 03 2025 02:48:11
root / root
0644
ppath.ps
1.776 KB
June 03 2025 02:48:11
root / root
0644
pphs.ps
6.684 KB
June 03 2025 02:48:11
root / root
0644
prfont.ps
7.044 KB
June 03 2025 02:48:11
root / root
0644
printafm.ps
4.783 KB
June 03 2025 02:48:11
root / root
0644
ps2ai.ps
21.783 KB
June 03 2025 02:48:11
root / root
0644
ps2epsi.ps
8.34 KB
June 03 2025 02:48:11
root / root
0644
ras1.upp
0.21 KB
June 03 2025 02:48:12
root / root
0644
ras24.upp
0.214 KB
June 03 2025 02:48:12
root / root
0644
ras3.upp
0.209 KB
June 03 2025 02:48:12
root / root
0644
ras32.upp
0.191 KB
June 03 2025 02:48:12
root / root
0644
ras4.upp
0.215 KB
June 03 2025 02:48:12
root / root
0644
ras8m.upp
0.204 KB
June 03 2025 02:48:12
root / root
0644
rollconv.ps
12.232 KB
June 03 2025 02:48:11
root / root
0644
s400a1.upp
1.42 KB
June 03 2025 02:48:15
root / root
0644
s400b1.upp
1.565 KB
June 03 2025 02:48:15
root / root
0644
sharp.upp
1.891 KB
June 03 2025 02:48:15
root / root
0644
sipixa6.upp
0.517 KB
June 03 2025 02:48:15
root / root
0644
st640ih.upp
2.228 KB
June 03 2025 02:48:12
root / root
0644
st640ihg.upp
1.473 KB
June 03 2025 02:48:12
root / root
0644
st640p.upp
1.869 KB
June 03 2025 02:48:12
root / root
0644
st640pg.upp
1.114 KB
June 03 2025 02:48:12
root / root
0644
st640pl.upp
1.834 KB
June 03 2025 02:48:12
root / root
0644
st640plg.upp
1.079 KB
June 03 2025 02:48:12
root / root
0644
stc.upp
1.878 KB
June 03 2025 02:48:12
root / root
0644
stc1520h.upp
2.104 KB
June 03 2025 02:48:12
root / root
0644
stc2.upp
1.859 KB
June 03 2025 02:48:12
root / root
0644
stc200_h.upp
1.805 KB
June 03 2025 02:48:12
root / root
0644
stc2_h.upp
1.835 KB
June 03 2025 02:48:12
root / root
0644
stc2s_h.upp
2.219 KB
June 03 2025 02:48:12
root / root
0644
stc300.upp
2.086 KB
June 03 2025 02:48:12
root / root
0644
stc300bl.upp
1.31 KB
June 03 2025 02:48:12
root / root
0644
stc300bm.upp
1.396 KB
June 03 2025 02:48:12
root / root
0644
stc500p.upp
1.858 KB
June 03 2025 02:48:12
root / root
0644
stc500ph.upp
1.858 KB
June 03 2025 02:48:12
root / root
0644
stc600ih.upp
2.228 KB
June 03 2025 02:48:12
root / root
0644
stc600p.upp
1.124 KB
June 03 2025 02:48:12
root / root
0644
stc600pl.upp
1.089 KB
June 03 2025 02:48:12
root / root
0644
stc640p.upp
1.069 KB
June 03 2025 02:48:12
root / root
0644
stc740ih.upp
2.073 KB
June 03 2025 02:48:15
root / root
0644
stc800ih.upp
2.107 KB
June 03 2025 02:48:12
root / root
0644
stc800p.upp
1.089 KB
June 03 2025 02:48:12
root / root
0644
stc800pl.upp
1.071 KB
June 03 2025 02:48:12
root / root
0644
stc_h.upp
1.868 KB
June 03 2025 02:48:12
root / root
0644
stc_l.upp
0.717 KB
June 03 2025 02:48:12
root / root
0644
stcany.upp
0.657 KB
June 03 2025 02:48:12
root / root
0644
stcany_h.upp
0.665 KB
June 03 2025 02:48:12
root / root
0644
stcinfo.ps
24.919 KB
June 03 2025 02:48:11
root / root
0644
stcolor.ps
4.946 KB
June 03 2025 02:48:11
root / root
0644
stocht.ps
2.436 KB
June 03 2025 02:48:11
root / root
0644
traceimg.ps
1.35 KB
June 03 2025 02:48:11
root / root
0644
traceop.ps
2.512 KB
June 03 2025 02:48:11
root / root
0644
uninfo.ps
5.846 KB
June 03 2025 02:48:11
root / root
0644
viewcmyk.ps
1.938 KB
June 03 2025 02:48:11
root / root
0644
viewgif.ps
5.269 KB
June 03 2025 02:48:11
root / root
0644
viewjpeg.ps
5.558 KB
June 03 2025 02:48:11
root / root
0644
viewmiff.ps
4.153 KB
June 03 2025 02:48:11
root / root
0644
viewpbm.ps
10.041 KB
June 03 2025 02:48:11
root / root
0644
viewpcx.ps
5.109 KB
June 03 2025 02:48:11
root / root
0644
viewps2a.ps
1.109 KB
June 03 2025 02:48:11
root / root
0644
winmaps.ps
3.521 KB
June 03 2025 02:48:11
root / root
0644
zeroline.ps
2.263 KB
June 03 2025 02:48:11
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF