Printing "printBackground: true" does not work


Printing does not work

I’m using electron to create a program that generates tickets put in the time to print the ticket and colorful and when I use “webContents.print ({silent: false, printBackground: true})” it comes out black and white being that when I use the same command on the island of atom it works … Would anyone there know how to proceed?

I’m sorry for writing I am Brazilian and I’m not sure English


I’m sorry I decided in the end was my css that was reset leaving all with black and transparent background