...
Many of the options have only two possible alternatives: Yes
and No
. You can change the value shown either by typing Y
or N
as appropriate, or by using the Next Option command, J, which alternates between the available values. In the case of options which take specific values, such as Page Length, Next Option restores the default value.
Printing documents - PRINT
The commands on the PRINT menu allow you to print your document and to take advantage of facilities offered by the printer, such as bold and underlined text, and alternative fonts.
...
...
Prints all or part of a document. The following options are displayed:
Print only range of columns No
Select rows to print No
Wait between pages No
By default, the Print command prints the whole of the current document with no pause between pages.
The starting page number is determined by the Options Page Start page setting, except when printing a marked block, or selected rows. In this case the pages will be numbered, starting at 1
, and soft page breaks will be ignored.
Print only range of columns: setting this option to Yes
will allow a column range to be specified. The column range should be given as two column labels, separated by a space. Only the columns within the specified range (inclusive) will be printed.
Select rows to print: setting this option to Yes
will allow an expression to be entered. Rows will only be printed if the expression evaluates to a true or nonzero result. The expression can contain slot references; after each row the slot references are updated by one row, unless they are fixed with the $
operator.
For example, a document containing text in column B could use column A to contain a '*' character, indicating the latest revisions to the document. To print out only the revised lines the option
Select rows to print Yes A1="*"
could be specified. See also Printing selected rows, p. 57, for an example.
Wait between pages: setting this option to Yes
gives a prompt between pages to allow single sheets to be inserted into the printer. The prompt
Page n ..
is displayed, where n is the page number. You can then press one of the following keys to control printing:
...
ESC
...
Printing a marked block: if a block of slots is marked when the Print command is given, only the marked slots will be printed.
Multi-file documents: if the Print command is given in a multi-file document, the current document will be saved if it is modified, and the entire multi-file document will be printed, starting with the first file.
Microspace pitch PM
Selects microspaced printed output. Gives the prompt
Microspace printed output No
...
ENTER
...
Highlighting text
You can alter the style of text in your document by inserting one of eight highlight codes in front of the text, and the same code after the text to revert back to normal.
Highlight codes
The recommended assignment of the eight codes is as follows:
Code | Function | Printed example |
1 | Underline | underlined type |
2 | Bold | bold type |
3 | Extended sequence | ė ҫ π |
4 | Italic | italic type |
5 | Subscript | H20 |
6 | Superscript | e=mc2 |
7 | Alternative font | alternative font |
8 | User defined |
To obtain the right results when these codes are printed you may need to create a printer driver; see Section Nine - The Printer Editor.
The codes are inserted into text with the following commands:
Underline (1) - | PU |
Bold (2) - | PB |
Extended Sequence (3) - | PX |
Italic (4) - | PI |
Subscript (5) - | PL |
Superscript (6) - | PR |
Alternative font (7) - | PA |
User Defined (8) - | PE |
These commands insert the corresponding highlight code at the current cursor position. Successive occurrences of a highlight code enable and disable the corresponding printer facility.
The effect of highlights 1, 2, 3, and 4 (underline, bold, extended sequences, and italic text styles) are displayed on the screen as underlined, bold, grey, and tiny characters respectively when the cursor is moved onto another slot. When the cursor is on the same slot, all highlight codes are displayed as the corresponding highlighted numbers 1 to 8.
Highlight characters are considered to be of zero width for formatting and justification.
...
SPACE
...
Insert Highlights - PHI
Inserts a specified highlight number in the text at the cursor position. Gives the prompt
Highlight number
...
ENTER
...
Remove Highlights - PHR
Removes all occurrences of a specified highlight number from a given marked block of text. Gives the prompt
Highlight number
...
ENTER
...
Highlight Block - PHB
Highlights all words within a marked block of text with a given highlight number. Gives the prompt
Highlight number
Typing a number between 1
and 8
will remove any existing highlights of the same number and highlight all words in the marked block with pairs of the specified highlight character. Because individual words are highlighted, reformatting the highlighted block of text will leave the selected text correctly highlighted, and text will be printed correctly even if the highlighted block extends over a page break.
Expression slots
Any slot in a PipeDream document can be designated as an expression slot, in which case the expression you type into it will be evaluated, and the result will be displayed in the corresponding position in the document.
...