I was wondering if some printers allow PCL commands with data to be combined. For example could the following
Ec *r1A
Ec *b0M
Ec *b2M__
Ec *b2M__
Ec *rC
Be written as
Ec *r1A
Ec *b0M
Ec *b2m2M____
Ec *rC
I wasn't sure if the printer would read the first two bytes of data following the terminator and associate it with the first command and then read the last two bytes of data and associate it with the second command.
I tried simulating this with a small 4x4 image using a PCL viewer. The viewer ignored the binary data that followed the terminator. Is this behavior that I should expect with most/all printers?
If so what other scenarios will prevent a PCL command from being combined (provided the commands meet the three defined rules written in the specification).
Ec *r1A
Ec *b0M
Ec *b2M__
Ec *b2M__
Ec *rC
Be written as
Ec *r1A
Ec *b0M
Ec *b2m2M____
Ec *rC
I wasn't sure if the printer would read the first two bytes of data following the terminator and associate it with the first command and then read the last two bytes of data and associate it with the second command.
I tried simulating this with a small 4x4 image using a PCL viewer. The viewer ignored the binary data that followed the terminator. Is this behavior that I should expect with most/all printers?
If so what other scenarios will prevent a PCL command from being combined (provided the commands meet the three defined rules written in the specification).