[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /os/Linux/distr/pub/linux/distributions/CTAN/support/pssplit/
 
Current bandwidth utilization 1160.33 Mbit/s
Bandwidth utilization bar
Contents of README:


  Printing Selected Pages
  =======================


  Sometimes you want to print not a complete PostScript document but just some
  selected pages. Here are several options. 

  o DSC Conforming Documents

    In a DSC (Document Structuring Conventions) conforming document all pages
    are individually accessible, clearly delineated by DSC comments. You can
    extract the pages you want to print before you send the result to a
    PostScript printer or interpreter. A utility for extracting these pages is
    pssplit: 

	 pssplit.exe -- DOS executable 
	 pssplit.c   -- C source 

  o Non DSC Conforming Documents: PostScript Level 2

    When there are no comments in the document to separate the document in
    pages, then the only solution is to have the entire document processed by a
    PostScript interpreter. However, PostScript Level 2 keeps track of the
    number of pages it has output, and you can redefine the output routine to
    tell PostScript to discard of the pages you don't want. A program that adds
    the necessary code to achieve this is pspages: 

	 pspages.exe -- DOS executable 
	 pspages.c   -- C source 

  o Non DSC Conforming Documents: Ghostscript

    With Ghostscript, instead of having the output sent to a printer, you can
    send it to a file instead. In this case, you can tell Ghostscript to divide
    the output in one file per page. Then you can copy the files you want to
    the printer. Here is an example: 

    gs -r300 -sDEVICE=djet500 -sOutputFile=file.%03d -dNOPAUSE file.ps -c quit

    This will produce files like file.001, file.002, etc. 


-- 
Peter Kleiweg       http://www.let.rug.nl/~kleiweg/




Icon  Name                                                  Last modified      Size  
[DIR] Parent Directory - [TXT] README 14-Feb-2000 12:58 1.6K [TXT] pspages.c 11-Feb-2000 16:19 5.3K [   ] pspages.exe 11-Feb-2000 16:19 9.1K [TXT] pssplit.c 11-Feb-2000 16:19 2.7K [   ] pssplit.exe 11-Feb-2000 16:19 8.1K

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!