Skip to content

parameters not passed to mPDF engenie #313

@nilsonpena

Description

@nilsonpena

Metadata parameters not passed to mPDF engine. Am I doing something wrong?
Cakephp 3.9
mPDF 8.0.4

Configure::write('CakePdf', [
            'engine' => [
                'className' => 'CakePdf.Mpdf',
                'options' => [
                    'SetTitle' => $this->titulo,
                    'SetAuthor' => $this->autor,
                    'SetCreator' => $this->criador,
                    'SetSubject' => $this->assunto,
                    'ShowWatermarkText' => true,
                    'SetWatermarkText' => 'RASCUNHO'
                ]
            ],

            'orientation' => 'portrait',
            'download' => true,
            'filename' => $local_file,
        ]);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions