You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since i have zero background on this printing stuff but it's all fun to set this up for my wifes hair salon, i tried looking behind the doors a bit.
ESC/POS commands are quite nasty with all this bytecode, but glad we have this library.
eventually it becomes cpj.binaryPrinterCommands = escposCommands; where the commands are just a list of commands and that's about it.
when i played with the printer of my wife around, i realized i can GET/POST the IP address of it, and it'll print infos about the request.
i realized, i can open just a socket to IP:9100 and send commands, so i tried to print hello world.
this might have worked sometimes, but i still don't know how. definitely i wasn't able to send a cut command.
now using this library to build the escpos commands should be enough, at the end those are just commands in order.
how can i convert those commands now to actually then print on it via socket connection?
Since i have zero background on this printing stuff but it's all fun to set this up for my wifes hair salon, i tried looking behind the doors a bit.
ESC/POS commands are quite nasty with all this bytecode, but glad we have this library.
eventually it becomes
cpj.binaryPrinterCommands = escposCommands;
where the commands are just a list of commands and that's about it.when i played with the printer of my wife around, i realized i can GET/POST the IP address of it, and it'll print infos about the request.
i realized, i can open just a socket to IP:9100 and send commands, so i tried to print hello world.
this might have worked sometimes, but i still don't know how. definitely i wasn't able to send a cut command.
now using this library to build the
escpos commands
should be enough, at the end those are just commands in order.how can i convert those commands now to actually then print on it via socket connection?
eventually in ruby i wanna do this
and i'm failing to understand how this magic works
The text was updated successfully, but these errors were encountered: