File:  [LON-CAPA] / loncom / includepsheader.ps
Revision 1.1: download - view: text, annotated - select for diffs
Mon Mar 23 10:10:11 2009 UTC (15 years, 7 months ago) by foxr
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_99_1, version_2_8_99_0, version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, HEAD, GCI_3, GCI_2, BZ5971-printing-apage, BZ5434-fox, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
Postscript additional header to support postscript job inclusion.
gets installed in /home/httpd/lib

    1: % Written by Helge Blischke, see
    2: % http://groups.google.com/groups?ic=1&selm=3964A684.49D%40srz-berlin.de
    3: %
    4: % The following 2 procs encapsulate the jobs to be processed
    5: % much as is done with EPS images:
    6: %
    7: /_begin_job_
    8: {
    9:         /tweak_save save def
   10:         /tweak_dc countdictstack def
   11:         /tweak_oc count 1 sub def
   12:         userdict begin
   13: }bind def
   14: 
   15: /_end_job_
   16: {
   17:         count tweak_oc sub{pop}repeat
   18:         countdictstack tweak_dc sub{end}repeat
   19:         tweak_save restore
   20: }bind def

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>