-1

Is there a general toggle or a set of commands or a more complex analyze to be able to assert that a given PCL file is in color? (HP Print Command Language - PCL5) (or on the contrary in Black & White)

I have samples of PCL5 clearly using color, that also contain command to switch in B&W (ex: Esc*r1U)... so I doubt such an analyze is simple.

Sandburg
  • 757
  • 15
  • 28
  • I am not an expert in PCL5 but given what I know of the language the only way to tell if any colour other than black is used on any page will be to decode the PCL data stream and look at it. Or you could render to an RGB bitmap and examine every pixel, if any pixel does not satisfy R = G = B then it's colour. – KenS Aug 28 '23 at 19:05

0 Answers0