I am trying to send a PCL command (any at the moment) from within a mainframe application to an NT network connected printer (HP4050). This is needed to switch fonts for one field in a document and then switch back to the default for the printer.
I think I have the correct sequence of codes to, in this example, switch to BOLD for the whole document. Here is what I send 1B 28 73 33 42 which I think should be: <esc> (s3B .
However, when the document gets to the printer, it prints in the default font and prints a square and an f in the first two positions of the line and offsets the rest of the line by two positions.
This is my first exposure to the wonderful world of PCL as I'm really a mainframe programmer, but we really need to make this work.
Any assistance would be greatly appreciated.
I think I have the correct sequence of codes to, in this example, switch to BOLD for the whole document. Here is what I send 1B 28 73 33 42 which I think should be: <esc> (s3B .
However, when the document gets to the printer, it prints in the default font and prints a square and an f in the first two positions of the line and offsets the rest of the line by two positions.
This is my first exposure to the wonderful world of PCL as I'm really a mainframe programmer, but we really need to make this work.
Any assistance would be greatly appreciated.