Transactions and Codes
Order of Transactions
The only basic operation required is an Append With Create
Append With Create Request
(Mailer) User --------------------> Server (Mail Box)
<File - data>
-------------------->
End of File indication
-------------------->
Acknowledge
<--------------------
The data type default is network ASCII. The Standard line printer default is as defined above. Other control transactions can be used.
Control Transactions to Be Used
| Op Code (Hex) | Op Code (Octal) | Meaning |
|---|---|---|
| 09 | 011 | Error or unsuccessful terminate |
| 0A | 012 | Acknowledge or successful terminate |
| 05 | 005 | Append With Create request (add to existing file or create file if none exists) |
| 5A | 132 | Change printer control settings |
Error Codes
All error codes defined in the file Transfer Protocol could be returned.
Printer Control Codes
| Hex | Octal | Meaning |
|---|---|---|
| D1 | 321 | Set line width to 72 characters |
| D2 | 322 | Use the full width of your printer |
| 03 | 323 | Set page size to 66 line |
| 04 | 324 | Set page size to infinite |
Other virtual printer control codes can be added in the future.
Other classes of control codes can be added as the need arises.