Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /GSNETViewer_PDFpage {
- (%GSNET_VIEWER_PDF_PAGE: ) print dup == flush
- pdfgetpage /Page exch store
- Page /MediaBox pget
- { (%GSNET_VIEWER_PDF_MEDIA: ) print == flush }
- if
- Page /CropBox pget
- { (%GSNET_VIEWER_PDF_CROP: ) print == flush }
- if
- Page /Rotate pget not { 0 } if
- (%GSNET_VIEWER_PDF_ROTATE: ) print == flush
- } def
- /Page null def
- /Page# 0 def
- /PDFSave null def
- /DSCPageCount 0 def
- GS_PDF_ProcSet begin
- pdfdict begin
- (E:/_ps_test_files/visible_invisible_layers.pdf) (r) file pdfopen begin
- /FirstPage where { pop FirstPage } { 1 } ifelse
- /LastPage where { pop LastPage } { pdfpagecount } ifelse
- flush (%GSNET_VIEWER_PDF_PAGES: ) print exch =only ( ) print =only (
- ) print flush
- 1 GSNETViewer_PDFpage
- %%BeginPageSetup
- <<
- /HWResolution [96 96]
- /PageSize [595.28 841.89]
- /PageOffset [0.00 0.00]
- /GraphicsAlphaBits 4
- /TextAlphaBits 4
- /Orientation 0
- >> setpagedevice
- %%EndPageSetup
- Page pdfshowpage_init pdfshowpage_finish
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement