home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / text / frame / 3785 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  2.7 KB

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