ConnectionProblem:
TYPE = {
noRoute(0), -- no route to the other party could be found.
noResponse(1), -- the other party never answered.
transmissionHardware(2), -- some local transmission hardware was inoperative.
transportTimeout(3), -- the other party responded once, but later failed to respond.
tooManyLocalConnections(4), -- no additional connection is possible.
tooManyRemoteConnections(5), -- the other party rejected the connection attempt.
missingCourier(6), -- the other party has no Courier implementation.
missingProgram(7), -- the other party does not implement the Bulk Data program.
missingProcedure(8), -- the other party does not implement the procedure.
protocolMismatch(9), -- the two parties have no Courier version in commmon.
parameterInconsistency(10), -- a protocol violation occurred in parameters.
invalidMessage(11), -- a protocol violation occurred in message format.
returnTimedOut(12), -- the procedure call never returned.
otherCallProblem(177777B) -- some other protocol violation occurred during a call.
};
KnownPaperSize:
TYPE = {
usLetter(1), -- defined as 8.5" x 11.0" or 216mm x 297mm
usLegal(2), -- defined as 8.5" x 14.0" or 216mm x 356mm
a0(3), -- anybody know what an 'a' is?
a1(4),
a2(5),
a3(6),
a4(7),
a5(8),
a6(9),
a7(10),
a8(11),
a9(12),
a10(35), -- sneaky!
isoB0(13), -- anybody know what an 'iso' is?
isoB1(14),
isoB2(15),
isoB3(16),
isoB4(17),
isoB5(18),
isoB6(19),
isoB7(20),
isoB8(21),
isoB9(22),
isoB10(23),
jisB0(24), -- anybody know what an 'jis' is?
jisB1(25),
jisB2(26),
jisB3(27),
jisB4(28),
jisB5(29),
jisB6(30),
jisB7(31),
jisB8(32),
jisB9(33),
jisB10(34)
};
TransferProblem:
TYPE = {
aborted(0), -- The bulk data transfer was aborted by the party at the other end of the connection.
formatIncorrect(2), -- The bulk data received from the souce did not have the expected format.
noRendezvous(3), -- The identifier from the other party never appeared.
wrongDirection(4) -- The other party wanted to transfer the data in the wrong direction.
};