1 03/21/85 sample
2
3 Syntax as a command: sample N
4
5
6 Function: used by printer drivers at request command level to print a
7 sample page of the file for paper alignment or to verify the starting
8 position in the file. The current position of a new request is always
9 page 1. The same page may be printed as often as needed.
10
11
12 Arguments:
13 N
14 is the page number that the driver prints. If N is omitted, the
15 driver prints the current page in the file.
16
17
18 Notes: If N is preceded by a "+" or "-", the number is relative to the
19 current page of the file. For example, "sample +3" skips forward three
20 pages and prints the page; "sample -8" skips backward eight pages and
21 prints the page. Similarly, "sample 500" skips to page number 500 and
22 prints it.
23
24
25 If the page number specified is beyond the end of the file, an error
26 message is printed similar to what is shown below.
27
28 End-of-File record encountered. EOF at page 2000, line 10.
29 Unable to skip to starting page.
30 Enter commandrequest:
31
32 and a new command is requested.
33
34 The sample command prints a page with separator bars as an aid to
35 the operator in indicating the sample pages so they can be
36 discarded.