Skip to content
Advertisement

Printing in ESC/POS using string commands (Neodynamic PHP Web Client)

I am trying to cut paper using string command, the command for paper cut is given as 0x1D 0x56, but its not working, Is it some other code for Neodynamic PHP Web Client.

What i did so far,

JavaScript

Few codes i have tried are '0x1D 0x56', $esc . '!' . '0x1D 0x56','0x1D 0x56 <m>'

Advertisement

Answer

To cut paper use $cmds .= $esc . "m" instead of $cmds .= '0x1D 0x56';

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement