Advertisement
Guest User

Untitled

a guest
May 27th, 2014
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. /GSNETViewer_PDFpage {
  2. (%GSNET_VIEWER_PDF_PAGE: ) print dup == flush
  3. pdfgetpage /Page exch store
  4. Page /MediaBox pget
  5. { (%GSNET_VIEWER_PDF_MEDIA: ) print == flush }
  6. if
  7. Page /CropBox pget
  8. { (%GSNET_VIEWER_PDF_CROP: ) print == flush }
  9. if
  10. Page /Rotate pget not { 0 } if
  11. (%GSNET_VIEWER_PDF_ROTATE: ) print == flush
  12. } def
  13.  
  14. /Page null def
  15. /Page# 0 def
  16. /PDFSave null def
  17. /DSCPageCount 0 def
  18.  
  19.  
  20. GS_PDF_ProcSet begin
  21. pdfdict begin
  22. (E:/_ps_test_files/visible_invisible_layers.pdf) (r) file pdfopen begin
  23. /FirstPage where { pop FirstPage } { 1 } ifelse
  24. /LastPage where { pop LastPage } { pdfpagecount } ifelse
  25. flush (%GSNET_VIEWER_PDF_PAGES: ) print exch =only ( ) print =only (
  26. ) print flush
  27. 1 GSNETViewer_PDFpage
  28. %%BeginPageSetup
  29. <<
  30. /HWResolution [96 96]
  31. /PageSize [595.28 841.89]
  32. /PageOffset [0.00 0.00]
  33. /GraphicsAlphaBits 4
  34. /TextAlphaBits 4
  35. /Orientation 0
  36. >> setpagedevice
  37. %%EndPageSetup
  38.  
  39. Page pdfshowpage_init pdfshowpage_finish
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement