Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
@rem $Id: ps2write.bat,v 1.16 2005/05/30 21:00:33 igor Exp $
2
@rem Converting Postscript 3 or PDF into PostScript 2.
3
 
4
set invoke0=%GSC% -dBATCH -dNOPAUSE -dNOOUTERSAVE -sDEVICE=pdfwrite -sOutputFile=temp.pdf %more_param% 
5
set invoke1=-c mark /ForOPDFRead true /PreserveHalftoneInfo true /TransferFunctionInfo /Preserve 
6
set invoke2=/MaxViewerMemorySize 8000000 /CompressPages false /CompressFonts false /ASCII85EncodePages true 
7
set invoke3=%more_deviceparam% .dicttomark setpagedevice -f %more_param1%
8
set invoke=%invoke0% %invoke1% %invoke2% %invoke3%
9
 
10
set procsets=%GS_LIBPATH%opdfread.ps+%GS_LIBPATH%gs_agl.ps+%GS_LIBPATH%gs_mro_e.ps+%GS_LIBPATH%gs_mgl_e.ps
11
 
12
if %jobserver%. == yes. goto s
13
%invoke%  %1
14
goto j
15
:s
16
%invoke% -c false 0 startjob pop -f - < %1
17
:j
18
copy /b %procsets%+temp.pdf+%GS_LIBPATH%EndOfTask.ps %2