|
DataMuseum.dkPresents historical artifacts from the history of: CP/M |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CP/M Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 7808 (0x1e80) Types: RcTekst Names: »99110300.WP«
└─⟦6fdfe4d4d⟧ Bits:30005866/disk5.imd Dokumenter i RcTekst format (RCSL 99-1-*) └─⟦this⟧ »99110300.WP«
╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ┆14┆┆b3┆↲ ↲ ┆14┆┆b1┆┆b0┆Simulated 3270 printer┆05┆User's guide↲ ┆14┆┆b2┆┆b0┆User's guide┆05┆Simulated 3270 printer↲ ┆15┆┆b3┆↲ ┆15┆┆b3┆↲ ┆15┆┆b1┆┆b0┆Update 0/85┆05┆Page ┆0b┆↲ ┆15┆┆b2┆┆b0┆Page ┆0b┆┆05┆Update 0/85↲ ╱04002d4e0a0006000000000201403140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ ╞ ╞ ╞ ╞ ╞ RC Computer↲ ╞ ╞ ╞ ╞ ╞ October 1985↲ ╞ ╞ ╞ ╞ ╞ RCSL No. 991 10300↲ ╱04002d4e0a00060000000003013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a0006000000000201403140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ ↲ RC39↲ SIMULATED IBM 3270 PRINTER↲ USER'S GUIDE↲ ↲ ↲ ┆a1┆1. GENERAL DESCRIPTION↲ ↲ Two programs perform simulated 3270 printer functions. Both ↓ ╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a00060000000003013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ run on the RC39 LAP, i.e. under XENIX:↲ ↲ ╱04002d4e0a00060000000003013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ - the spool printer: ┆84┆prints data on an RC39 printer via a ↓ ┆19┆┆95┆┄┄print spooler,↲ ╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a00060000000003013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ - the file printer: ┆84┆collects data in XENIX files.↲ ↲ ╱04002d4e0a00060000000003013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ As seen from the host computer each of these programs ↓ appears just like an ordinary 3270 printer device. Once the ↓ package SW3804I has been installed, both programs are auto┄↓ matically activated each time the RC39 MUCS is started (in ↓ the normal multi-user mode).↲ Both programs work by assembling received data into ↓ files. The file printer stores one file at a time in the ↓ XENIX filing system, and the spool printer queues one file ↓ at a time for printing. How the arriving data is divided ↓ into files is described below.↲ ↲ ┆a1┆2. CUSTOMIZATION↲ ↲ Customization of the simulated printer function takes place ↓ by editing parameter specifications in the file ↓ /etc/default/3270printer.↲ For both printer programs a (3270) device number must be ↓ chosen for the simulated printer device. If the device ↓ number is specified as 0, the printer in question will not ↓ be activated. Device number 0 is the default, as specified ↓ in the distributed version of the parameter file, for both ↓ programs. Thus it is necessary to edit the parameter file ↓ in order to activate any function at all. Apart from 0, ↓ device numbers may be chosen in the range 1..127; note that ↓ ┆8c┆┆83┆┆e4┆↓ device numbers greater than 63 do not always work (cf. ref. ↓ 1, section D.2, Cluster size).↲ Device numbers chosen for simulated printer devices must ↓ not be used for any other devices in the 3270 cluster con┄↓ trolled by the RC3931 Communications Processor (cf. ref. 1, ↓ section E, Device number management).↲ The parameter file is only read when the RC39 MUCS is ↓ reset (started). When the file has been edited, there will ↓ be no effect until this takes place.↲ ↲ ┆a1┆Parameters for the spool printer↲ ↲ ┆a1┆Device number┆e1┆: SPOOLDEV=devno↲ Devno is the device number of the spool printer device. It ↓ must be a number in the range 0..127, cf. the discussion ↓ above.↲ ↲ ┆a1┆Choice of spooler┆e1┆: SPOOLPGM=spoolprogram↲ This parameter selects the spooler program to be used. To ↓ select the uspool program (part of the UNIPLEX package), ↓ ╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a00060000000003013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ specify:↲ ↲ SPOOLPGM=uspool↲ ↲ ╱04002d4e0a00060000000003013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ Usually, uspool prints data on the system printer (using ↓ the parallel interface, J42). It is also possible to ↓ arrange for uspool to manage a spool queue for a printer ↓ connected via a serial interface (J31-J34). Within UNIPLEX ↓ such a printer is called ts; to select it for spooled 3270 ↓ ╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a00060000000003013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ printer output, specify:↲ ↲ SPOOLPGM=uspool -pts↲ ↲ ╱04002d4e0a00060000000003013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ The built-in XENIX spooler, lpr, can also be selected. To ↓ ╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a00060000000003013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ do so, specify:↲ ↲ ╱04002d4e0a00060000000003013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ╱04002d4e0a00060000000002013b3140000000000000000000000000000000000000000000000000050f19232d37414b555f69737d8791ff04╱ ↓ SPOOLPGM=lpr↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆Banner┆e1┆: USER=user-id↲ This parameter determines the text on the banner page in ↓ front of each file printed via the 3270 file spooler. User-↓ id must be the id of an established user of the RC39 MUCS.↲ ↲ ┆a1┆Parameters for the file printer↲ ↲ ┆a1┆Device number┆e1┆: FILEDEV=devno↲ Devno is the device number of the file printer device. It ↓ must be a number in the range 0..127, cf. the discussion ↓ above.↲ ↲ ┆a1┆File directory┆e1┆: DIR=dir-path↲ This parameter selects the XENIX directory into which files ↓ received by the file printer will be stored. Dir-path must ↓ be the proper XENIX path name of the directory, which must ↓ exist before the file printer is activated.↲ Each file stored in the directory is given a name of the ↓ form pxxxxxxxx, where xxxxxxxx is a serial number. The ↓ usual XENIX/UNIPLEX mechanisms may be used to inspect the ↓ files which have arrived at a given time.↲ ↲ ┆a1┆Default parameter values↲ ↲ The contents of the distributed version of the parameter ↓ file /etc/default/3270printer are as follows:↲ ↲ SPOOLDEV=0↲ SPOOLPGM=uspool↲ USER=root↲ FILEDEV=0↲ DIR=/usr/cp/print↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆2. ASSEMBLY OF PRINTER DATA INTO FILES↲ ↲ When data for a simulated 3270 printer device begins to ↓ arrive, a file is opened, and the data is deposited in the ↓ file. Upon termination of the 3270 printout operation the ↓ file is closed. At this time the spool printer will queue ↓ the file for printing on the RC39 printer, whereas the file ↓ printer will deposit the file in the selected directory. ↓ When more data arrives for the simulated printer, a new ↓ file is opened and the operation is repeated.↲ The question of determining when a 3270 printout oper┄↓ ation terminates is resolved in different ways depending on ↓ the communication protocol:↲ ↲ SNA/SDLC: ┆84┆A printout operation terminates when the host ↓ ┆19┆┆8b┆┄┄indicates that the printer can be used for ↓ ┆19┆┆8b┆┄┄another purpose. Note, that the Communications ↓ ┆19┆┆8b┆┄┄Processor parameter PSHARING (cf. ref. 1, ↓ ┆19┆┆8b┆┄┄section D.2, Parameters for SNA/SDLC links) ↓ ┆19┆┆8b┆┄┄applies to simulated printers as well as real ↓ ┆19┆┆8b┆┄┄printers.↲ ↲ BSC: ┆84┆A printout operation terminates when a timer ↓ ┆19┆┆8b┆┄┄expires (timeout) after a 3270 Write command not ↓ ┆19┆┆8b┆┄┄containing a USM order has been received and no ↓ ┆19┆┆8b┆┄┄subsequent 3270 Write command has arrived. By ↓ ┆19┆┆8b┆┄┄default the timeout is 15 seconds; it may be ↓ ┆19┆┆8b┆┄┄modified by means of the Communications Pro┄↓ ┆19┆┆8b┆┄┄cessor parameter BSCPTIME (cf. ref. 1, section ↓ ┆19┆┆8b┆┄┄D.2, Parameters for BSC links). The mechanism is ↓ ┆19┆┆8b┆┄┄the same as is used to prevent the mixing of ↓ ┆19┆┆8b┆┄┄printout pages from different sources on a real ↓ ┆19┆┆8b┆┄┄(physically emulated) printer device.↲ ↲ It is also possible to write to a simulated printer device ↓ by means of the hard-copy function, i.e. by pressing the ↓ Print key of a terminal. In this case one file will result ↓ from each hard-copy operation.↲ ┆8c┆┆83┆┆c8┆↓ When a file has been printed by a spooler it is automati┄↓ cally removed. On the other hand, it is the user's respon┄↓ sibility to move or remove files which have been received ↓ by the file printer from the directory in which they are ↓ deposited.↲ ↲ ┆a1┆REFERENCE↲ ↲ 1.╞ RCSL No.991 10073↲ ╞ RC3931 Communications Processor, User's Guide↲ ════════════════════════════════════════════════════════════════════════ ↓ ↓ ┆1a┆┆1a┆┄┆f8┆↓ ↓ ↓ ┆1a┆unications Processor, User's Guide↲ ════════════════════════════════════════════════════════════════════════ ↓ ↓ ↓ ┆1a┆ ↓ ↓ ┆1a┆┆00┆┆00┆┆ff┆┆ff┆┆ff┆┆00┆┆00┆┆00┆┆ff┆┆ff┆┆ff┆┆00┆┆00┆┆00┆┆ff┆┆ff┆┆ff┆┆00┆┆00┆┆00┆┆ff┆┆ff┆┆ff┆┆00┆┆00┆┆00┆┆ff┆┆ff┆┆ff┆┆00┆┆00┆┆00┆┆ff┆┆ff┆┆ff┆┆00┆┆00┆┆00┆┆ff┆┆ff┆┆ff┆┆00┆┆00┆┆00┆┆ff┆┆ff┆┆ff┆┆00┆┆00┆┆00┆┆ff┆┆ff┆┆ff┆┆00┆┆00┆┆00┆┆ff┆┆ff┆┆ff┆┆00┆