Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

323
Views
La impresora Electron Pos imprime un recibo vacío

Estoy usando esta biblioteca Electron Pos Printer y he creado un pequeño lote de código. Conecté con éxito mi impresora térmica POS, pero cuando envío un comando para imprimir, solo "imprime" una pequeña cantidad de papel en blanco. ¿Alguna idea para arreglar esto, o tal vez una recomendación para alguna otra biblioteca?

 let printerName = "myprinter"; let widthPage = "155"; const data = [ { type: "text", // 'text' | 'barCode' | 'qrCode' | 'image' | 'table value: "This is sample print job", style: `text-align:center;font-size:16px;`, }, { type: "qrCode", value: "https://github.com/fssonca", height: 55, width: 55, style: "margin-left:50px", }, ]; PosPrinter.print(data, { preview: false, // Preview in window or print width: widthPage, // width of content body margin: "0 0 0 0", // margin of content body copies: 1, // Number of copies to print printerName: printerName, // printerName: string, check it at webContent.getPrinters() timeOutPerLine: 400, silent: true, }).catch((err) => console.log(err));
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!