Please forgive my ignorance, Im new to the world of HP-UX and unix.
Im trying to work out exactly how printer control codes work.
I have setup a test printer with our default interface file which works (using lp command).
I have then found a control code that is use elsewhere in our org (its actually in some progress DB code) which is working and outputs the job to A5 and to tray 4, (the code is \033&l25a5H\033(s12.5H which works fine).
I have then placed the code in a test file, containing nothing but,
\033&l25a5H\033(s12.5H This is a test
However when testing the file with the lp command, the control code is simply printed instead of obeying the codes. Can anyone think why this could be the case?
Thanks much in advance for any feedback.