public print(): void {
es6printJS(
{
printable: this.pdfVariable,
type: 'pdf',
base64: true,
targetStyles: ['*'], // Aplicar estilos a todos los elementos
style: '@page { size: A4 landscape; }',
}
)
}
all time, print window, says letter, and i cant say to the users, they must have change, this require to do all on the lib :/ and the pdf on base64 is an A4
Hi,
Im trying to config paper size on this mode:
public print(): void { es6printJS( { printable: this.pdfVariable, type: 'pdf', base64: true, targetStyles: ['*'], // Aplicar estilos a todos los elementos style: '@page { size: A4 landscape; }', } ) }
all time, print window, says letter, and i cant say to the users, they must have change, this require to do all on the lib :/ and the pdf on base64 is an A4