Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.eso.org/~qc/procs/PS2PDF/ps2pdf.html
Дата изменения: Mon Jan 26 17:18:07 2004 Дата индексирования: Sat Dec 22 20:09:38 2007 Кодировка: Поисковые слова: р р с |
![]() |
|||||
---|---|---|---|---|---|
PostScript to PDF conversion |
|||||
|
gs -q -dSAFER -dNOPAUSE -dBATCH -sOutputFile=file.pdf -sDEVICE=pdfwrite -c .setpdfwrite "-c <</Orientation 3>> setpagedevice" -f *ps
%% BeginProlog2. Step: Add a pdfmark operator in the set-up section so that the list of bookmarks in the resulting PDF document is visible on the left hand side when the file is opened:
/pdfmark where
{pop} {userdict /pdfmark /cleartomark load put} ifelse
%% EndProlog
%% BeginSetupThe /XYZ parameter specifies the place and the magnification of the page. /XYZ null null 2.0 would, for example, mean a zoom factor of 200%.
[/PageMode /UseOutlines
/Page 1 /View [/XYZ null null null]
/DOCVIEW pdfmark
%% EndSetup
3. Step: Add pdfmark bookmark operators. The place of the operators
within the PS file does not seem to be important. I have added them at the
beginning of the first page. Examples for bookmarks would be:
[/Page 1 /View [/XYZ null null null] /Title (Main QC plot) /OUT pdfmarkThese operators would create three bookmarks, one for every page. If you convert several PS files into on PDF document then it is sufficient to edit only the first file.
[/Page 2 /View [/XYZ null null null] /Title (Position check) /OUT pdfmark
[/Page 3 /View [/XYZ null null null] /Title (FWHM check) /OUT pdfmark
![]() ![]() |