🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.postscript.programming
2 messages
2 total messages Started by pindemad Thu, 03 Jul 2003 23:30
title question
#1061
Author: pindemad
Date: Thu, 03 Jul 2003 23:30
6 lines
974 bytes
What is the best way to get the title (%%TITLE) from a postscript file?
Is the %%TRAILER keyword mandatory in a postscript file?
Is the following statement true? : The correct %%TITLE is either the last one appearing in any trailers or the one at the beginning of the file.

I hope you can help me
Peter
Re: title question
#1062
Author: Aandi Inston
Date: Fri, 04 Jul 2003 07:47
18 lines
1412 bytes
Bear in mind it is %%Title: - always mixed case like that, always a
colon after Title.

You should search the comments at the start. There is no title unless
the %%Title: is present.

The comments continue until %%EndComments, or until the first
non-comment line (that is, the first line which does not start with a
% sign - not just %%).  

If and only if you find %%Title: (atend) you should go to the end of
the document and search for %%Trailer than look for a %%Title there.

These and more questions are answered in the DSC reference, which you
should find on http://partners.adobe.com/ > ASN > Technotes >
PostScript.

Aandi Inston
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads