Passa al contenuto principale

Tipi di file di stampa

  1. I tipi «Print File-ASCII» e «EBCDIC Print File» sono specificati in modo errato (pagine 10 e 11, RFC 354). Il vero problema dei file di stampa riguarda il controllo del formato verticale ASA (Fortran). Invece dei due tipi di file di stampa, dovrebbero esserci in realtà tre tipi, come descritto di seguito:
BCDIC - The sender transfers data using the EBCDIC
character code and 8-bit transfer byte size.
The _CRLF_ convention is used for vertical format
control. This type will be used for efficient
transfer of EBCDIC files between systems which
use EBCDIC for their internal character
representation.

ASCII with ASA vertical format Control - This is the
"Print file-ASCII" defined in RFC 354. The
server is to transform the data in accordance
with ASA (Fortran) vertical format control
procedures for printing on printers that
still use this standard. The data is to be
transferred as 8-bit bytes.

EBCDIC with ASA vertical format control - This is the
EBCDIC Print File defined in RFC 354. The
server is to transform the data in accordance
with ASA (Fortran) vertical format control
standards but using the EBCDIC character code.
The data is to be transferred in 8-bit bytes.

I nuovi tipi sono indicati dai simboli E per EBCDIC, P per Print file-ASCII e F per file di stampa EBCDIC formattato (standard ASA). Una discussione del controllo del formato verticale ASA compare in NWG/RFC 189, Appendice C, e in Communications of the ACM, Vol 7, No. 10, p. 606, ottobre 1964. Secondo gli standard di controllo del formato verticale ASA, il primo carattere di un record formattato non viene stampato ma determina la spaziatura verticale come segue:

Character    Vertical Spacing before printing
--------- --------------------------------
Blank One line
0 Two lines
1 To first line of next page
+ No advance

Oltre ai quattro sopra indicati, esistono altri caratteri (definiti nell'Appendice C della RFC 189) che rappresentano un'estensione IBM dello standard ASA.