home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!news
- From: robertw@informix.com (Robert Weinberg)
- Newsgroups: comp.text.frame
- Subject: Re: Creating Postscript files
- Message-ID: <1992Dec28.212118.22163@informix.com>
- Date: 28 Dec 92 21:21:18 GMT
- References: <1992Dec18.220725.10155@pony.Ingres.COM>
- Sender: news@informix.com (Usenet News)
- Organization: Informix Software, Inc.
- Lines: 53
-
- In article <1992Dec18.220725.10155@pony.Ingres.COM> corman@Ingres.COM (Anthony
- Corman) writes:
- > We frequently need to create Postscript files for an entire manual
- > or manuals; we've just bought FM for X Windows because it will
- > enable us to do this in a batch. (Am I correct in assuming there's no
- > way to batch this process on Macintosh?)
- >
- > (1) I can use fmprint to print a book to a Postscript file, right?
-
- I use fmbatch. It has a command "print". I use the command "fmbatch batch_file"
- where batch_file consists of sets of 3 lines like this:
-
- Open ch05.frame
- Open /tp/bin/batch_print
- Print ch05.frame /tp/bin/batch_print
-
- where /tp/bin/batch_print is my print-settings file. I use a shell script to grab
- the names of all the files I wante PostScripted and put them into batch_file. Each
- of them gets "printed" to disk as a separate PostScript file.
- >
- > (2) A print settings file is just a FM file from which fmprint
- > reads print settings; it's not some special formatted file, right?
-
- Right.
-
- >
- > (3) If I print a book to Postscript using fmprint and omit the print
- > setting file, does fmprint use the print settings for the book file?
- I don't know.
-
- >
- > (4) Do I get one great big Postscript file combining all the files
- > in the book, or is one file created for each file in the book?
-
- Using the method described above, you get one PostScript file for each individual
- file. If you want one large PostScript file for a book, just open the book and
- "print" it to a single PostScript file.
-
- > One problem with the above plan is how do I specify different filenames
- > for the PS files? The files generated on the Mac have embedded spaces in
- > the filename (chapter TOC, for example). Any problem when I move them over to
- > the X Windows environment?
-
- You should be able to handle spaces in file-names in a shell script, but it can be
- awkward. Just don't put slashes in your Mac filenames or you will have real
- problems on the UNIX side.
-
- --
- +================================+================================+
- | Rob Weinberg | Workstation publications tech |
- | Email : robertw@informix.com | Graphic designer |
- | Voice : 415-926-6754 | <imagine your ad here> |
- +================================+================================+
-