crabbly / crabbly/Print.js

change pageSize of base 64 PDF

Open
#700 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.5k
Forks
688
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.