We have recently procured a Brother HL-6050 printer.
In UNIX (HP-UX) we have a program that requires a single program output to be printed on A5 (optional tray) whereas the default be A4 (tray 1).
If I place the following line in the header of the output print header of the program,
Then the program prints from the optional tray (currently with A4 in it).
So far so good....
Now I replace the A4 paper in the optional tray with A5 paper and run exactly the same program. Now instead of using the optional tray as the source it starts to use tray 1 again (the wrong tray).
Any ideas much appreciated!
I support tfewster in his/her supposition that specifying a PaperSize of A5 (as well as the tray identifier) is probably what is required.
But I don't think that the suggested code is correct.
The 'select PaperSize' escape sequence has the generic form:
<esc> represents the escape character (the character with decimal code 27, or hexadecimal 1B, or octal 033).
the character after the & (ampersand) is a lower-case L (not a digit 1)
and where the standard # values include:
#=2 for Letter
#=26 for A4
#=25 for A5
The \033 is the *n*x method of specifying (in octal) the code-point value of the Escape character.
... but I've no idea what the \c means; the PCL5 escape sequence is complete at the 'A' termination character.