| <IMG SRC="/images/adobelogo.gif" WIDTH="115" HEIGHT="80" BORDER="0" ALT="Adobe"> |
|
| <IMG src="/support/images/small.gif" width=10 height=1 border=0> | <IMG SRC="/support/images/supportknowledgebase.gif" WIDTH="500" HEIGHT="40" BORDER="0" ALT="Support Knowledgebase"> |
<SCRIPT LANGUAGE="JavaScript"> </SCRIPT><FORM METHOD="POST" ACTION="http://survey.ccsurvey.com/adob0102ai/survey7.pl"><INPUT TYPE="hidden" NAME="URL" VALUE="/support/techdocs/1242e.htm"><INPUT TYPE="hidden" NAME="Title" VALUE="UNIX Shell Scripts for Commonly Used fmbatch Commands"><INPUT TYPE="hidden" NAME="DocID" VALUE="317072"><INPUT TYPE="hidden" NAME="Product" VALUE="FrameMaker"><INPUT TYPE="hidden" NAME="Platform" VALUE="UNIX"><INPUT TYPE="hidden" NAME="Version" VALUE="5.x"><INPUT TYPE="hidden" NAME="LastEdited" VALUE="08/13/2001"><INPUT TYPE="hidden" NAME="Ftype" VALUE="TSDB"><NOSCRIPT><INPUT TYPE="IMAGE" SRC="/support/images/gotsometime.gif" WIDTH="120" HEIGHT="65" BORDER="0" ALT="Got Some Time to Take a Survey?"> Tell us what you think about this document.</NOSCRIPT></FORM> Product Platform Last Edited Filename | UNIX Shell Scripts for Commonly Used fmbatch Commands You can use fmbatch to open, print, reformat, and save Adobe FrameMaker documents without actually displaying them. You can issue commands one at a time (interactively), or you can store commands in a text file (i.e., a batch file) and issue all the commands in a single command. For example, the following batch file contains a sequence of commands that will open FileA, save FileA in MIF format, then close FileA and perform the same operation on FileB. Open FileA After creating a batch file, you run fmbatch from a UNIX command line using the batch file name as an argument: fmbatch batchfile The following UNIX shell scripts create batch files you can use with the fmbatch command. - This script builds a batch file that saves all documents in the present working directory in MIF format. Saving in MIF format is useful when it is necessary to open documents in an earlier version of FrameMaker. #! /bin/csh -f set scriptname = createbatch - This script builds a batch file that saves all documents in the present working directory. It is useful after you've upgraded to a later version of FrameMaker as it circumvents the alert message you would get when opening and saving documents interactively. #! /bin/csh -f set scriptname = createbatch - This script prints all documents in the present working directory. It assumes you have print settings file named "SetFile" specified. A print settings file is a FrameMaker document that has been saved with the desired print settings configured in the Print dialog box. If a print settings file is not specified, the print settings of individual the documents will be used when printing. However, a print settings file is very useful when it is desirable to print to a PostScript or PDF file. #! /bin/csh -f set scriptname = createbatch
Related Records | <SPACER TYPE="BLOCK" HEIGHT="1" WIDTH="1"> |
| <IMG SRC="/images/backtotop.gif" WIDTH="59" HEIGHT="13" BORDER="0" ALT="Back To Top"> |
|
Copyright ©2002 Adobe Systems Incorporated. All rights reserved.
Information is provided "As Is" without warranty of any kind. Users may make a single copy of portions of knowledgebase for personal use provided that this notice is included on such copy. See Terms of Use for additional terms for use. Online Privacy Policy Adobe and accessibility Avoid Software Piracy |
|
Originally posted as a Categorized Answer.
In reply to Re: Using script to print out a html file
by Anonymous Monk
in thread Using script to print out a html file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |