We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var escpos = Neodynamic.JSESCPOSBuilder; var doc = new escpos.Document(); var new_doc = new escpos.Document(); var header = doc
.align(escpos.TextAlignment.Center) . setPrintWidth(48) .image(logo, escpos.BitmapDensity.D24) .font(escpos.FontFamily.A) .style([escpos.FontStyle.Bold]) .size(0, 1) .font(escpos.FontFamily.A) .style([escpos.FontStyle.Bold]) .size(0, 0.5) .newLine() .cut(partial_feed,partial_cut) .generateUInt8Array(); cpj.binaryPrinterCommands = header; cpj.sendToClient();
When I am trying to set width from Script it is getting print as:
when I am chang width in lib file of JSESCPOSBuilder.js at line 244 it work correctly, but from script not working correctly.
The text was updated successfully, but these errors were encountered:
same issue
Sorry, something went wrong.
You can set the width doing this:
let instructions = new Document() instructions.width = 42
It works correctly
No branches or pull requests
var escpos = Neodynamic.JSESCPOSBuilder;
var doc = new escpos.Document();
var new_doc = new escpos.Document();
var header = doc
When I am trying to set width from Script it is getting print as:
when I am chang width in lib file of JSESCPOSBuilder.js at line 244 it work correctly, but from script not working correctly.
The text was updated successfully, but these errors were encountered: