-- PrintDoc.tioga -- last edited by vanLeunen, January 5, 1984 3:58 pm -- last edited by MBrown, January 5, 1984 4:43 pm name Print syntax Print {-p} {-h {hostName}} {-r {pfName}} {-c nCopies} {-t} file description Print is useful for quick printing whenever speed is more important than formatting. For instance, Print produced a press file from /Indigo/Cedar/Documentation/Dependencies.txt, a 163497 byte file, in 13 seconds on a Dorado. Print may be especially useful for non-Dorado users. The file extension defaults according to the SourceFileExtensions entry in the current user profile. If the file is already in press format, it is simply sent to a printer. (Print can also produce a press file without sending it to a printer; see the -h switch.) Switches: -p By default, Print prints landscape (Gacha 6 two columns); the -p switch says print portrait instead (Gacha 8 one column). -h {hostName} By default, Print uses hostName = Hardcopy.PressPrinter entry of user profile. The -h switch with an empty hostName makes a .press file but does not send it to a printer. The -h switch with a nonempty hostName makes a .press file and sends it to the printer with that name. -r {pfName} By default, Print makes a temporary Foo.press file from Foo.source. The -r switch with an empty pfName says retain the .press file; the -r switch with a pfName specified says give the file the specified name and retain it. A specified pfName of Baz does not default to Baz.press. -c nCopies By default, Print prints one copy. The -c switch allows you to specify more copies. -t By default, Print indents to indicate nesting of Tioga nodes (exactly as in the WriteMesaPlain command, exported from TiogaExecCommands). The -t switch suppresses this (and makes Print run somewhat faster if nodes are present in the source file). examples Assume that Mumble is a source file, and Mumble.press is a press file, in the current working directory. Also assume that the current user profile contains the entry "Hardcopy.PressPrinter: Clover". Then % Print Mumble produces ///Temp/Mumble.press, ships it to Clover, and then deletes it, % Print -h Menlo Mumble produces ///Temp/Mumble.press, ships it to Menlo, and then deletes it, % Print Mumble.press ships Mumble.press to Clover, % Print -h Mumble produces a new version of Mumble.press on the current working directory, and % Print -r Foo Mumble produces a new version of Foo (not Foo.press) on the current working directory and ships it to Clover. In these examples, if Mumble did not exist but Mumble.mesa did exist, then Mumble.mesa would be used as the source file, assuming that the current user profile contains no "SourceFileExtensions" entry (or an entry of the form "mesa ..."). warnings The "-r pfName" form of Print may destroy a press file that you were interested in keeping; if you want to be able to recover the previous version, be sure that its keep is at least 2 (see the SetKeep command). stop/undo The STOP! button will stop Print. implementation Print.mesa in Print.df contact MBrown keyword hints print, hardcopy, fast, TSetter ... keywords to be supplied by the Index Czar at the appropriate time in the future สฆ˜I lasdefaultšœ˜Kšœ4˜4Kšœ1˜1head4šฯeœะbo˜ š˜Lšฯt?˜?—š ˜ Lšœ—˜—Lšœˆ˜ˆ——Iindentšœ ˜ MšŸœ…˜‰MšŸœ‚˜‘MšŸ œ|ŸœKŸœฉ˜‰MšŸ œl˜x˜ฃ• HelpexamplesTRUEš˜šœอ˜อšœ˜MšœG˜G—šœ˜MšœF˜F—šœ˜Mšœ˜—šœ˜MšœL˜L—šœ˜MšœœD˜f——Lšœ๎˜๎—š˜Lšœา˜า—š œ˜ Lšœ!˜!—šœ˜Lšœ˜—š˜Lšœ˜—š ˜ L˜"—š˜LšŸF˜F——I pagebreak˜J˜—…— ”@