electron-vue icon indicating copy to clipboard operation
electron-vue copied to clipboard

Print multiple printer at the same time

Open yuniit opened this issue 4 years ago • 1 comments
trafficstars

Hello, How can I manage to print multiple printer at the same time. I've try some like this:

webview.addEventListener('ipc-message',  (event) => {
   if (event.channel == "startPrint") {
        let printers = ['Printer80','Epson TM-T88VI']

        for (let printer of printers) {
           webview.print({
             copies: 1,
             silent: true,
             printBackground: true,
             deviceName: printer
          })
       }
  }
})

But 1 of the printers got to print.

Tell me about your development environment.
  • Node version: v14.9.0
  • NPM version: 6.14.8
  • vue-cli version: 4.5.6
  • Operating System: Ubuntu 18.04

yuniit avatar Jan 28 '21 01:01 yuniit

Hi @yuniit, did you find a way to handle it ?

halilacikgoz avatar Jul 29 '22 08:07 halilacikgoz