Skip to content

Printing with powerpoint "notes" print layout does not show slide #446

Open
@benjanik

Description

@benjanik

I generate presentations with a single image per slide, but after upgrading I can no longer print these presentations with the "notes" layout print option. You can see in my screenshot that nothing renders in the print preview when "notes" is selected as the layout option. This worked correctly in version 1.10.0, but I have recently upgraded to 2.4.0 in order to add slide notes. Example code included which worked for me in v1.10, I can supply images if need be (but any image should work).

image

this.slides.forEach(fileName => {
    let pptSlide = pptx.addNewSlide();
    pptSlide.addImage({
        x: 0,
        y: 0,
        w: 1.7777777778,
        h: 1,
        path: getFilePath(fileName),
        sizing: {
            type: 'cover',
            w: 10,
            h: 5.625,
        }
    });
});
return new Promise(resolve => {
    pptx.save('http', (buffer) => {
        resolve(buffer);
    });
});

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions