Print Negative Line DPP-450 Escapos Datecs

0

I'm starting a project on this printer (DPP-450), and I came across a problem that I can not solve:

I need to print a negative line, black background and white writing. In the manual this "GS B" as the code for this, but I can only execute the "ESC" codes. I do not know if there is any way to switch between GS / ESC, I could not find anything that would help me.

    
asked by anonymous 03.04.2018 / 15:55

1 answer

0

Hello. ESC actually corresponds to char 27. Currently I use Delphi so the commands that use ESC are passed like this:

/ * Example of bold * / _prNegritoEntivar: string = # 27'E1 '; _prNegritoDisable: string = # 27'E0 ';

In this way, to pass the GS, which corresponds to char 29, I do this: / * setting the width of the bar code * / _prBarCodeLength: string = # 29'w '+' 2 '; // between 2 and 4

In your case, the GS B would be: # 29'B ' Got it?

    
11.10.2018 / 19:39