Print jobs are sent to the BS2000 spool via the PRNT macro. No ID is allocated for the print job. Management of the print job is only possible using the BS2000 spool.
Syntax
bs2lp[ option] ... [ file] ... |
-c | This option is always set implicitly. The specified file is copied and the copies are |
Output medium. You can specify a printer name or a pool name (printer class name). The environment variables LPDEST and PRINTER are not supported.
Use this option to specify the number of times the file is to be printed. The largest supported value for copies is 255, the smallest is 1. -ncopies not specified:
(t - title) title will be printed in the header of the printout.
Ignored.
Name of the file which is to be printed. You can also enter more than one file. These files are then printed in the order in which they are specified when the command is called. file not specified: |
Mode of operation
The POSIX file is copied as a temporary SAM file, i.e. the ERASE operand is always implicitly set when SPOOL is called. |
Specifying additional operands for print jobs
All keyword operands of the PRNT macro can be implicitly specified through the .lprc file which is searched for in the current HOME directory. At least one PRNT operand must be fully defined for each line. A line may contain more than one operand if these are separated by commas.The entries in the .lprc file are transferred to PRNT without checking. Example .lprc file: FORM=STD LINES=80 ROT=90, CHARS=R01 You cannot simultaneously specify an operand and an option which is mapped to this operand. Option mapping:
|
Error
bs2lp: ERROR: No (or empty) input files |
Exit status
0 | if spool jobs were started successfully. |
Example
The command bs2lp -n2 file and the entries in the .lprc file described above result in thefollowing spool call for BS2000:
|