Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FPDM Output Not Saving File #63

Open
GreatScott64 opened this issue Aug 29, 2022 · 1 comment
Open

FPDM Output Not Saving File #63

GreatScott64 opened this issue Aug 29, 2022 · 1 comment

Comments

@GreatScott64
Copy link

Using FPDM and instead of viewing the merge doc I am attempting to auto-save the doc on the server with variations of this syntax:

$pdf -> Output('filename.pdf', \folder\Destination::FILE);

No matter what I try I get an error and it will not save the results in a PDF file on the server.
(if i do not specify the DESTINATION:: i get incorrect output destination, if I include it then I get a class Destination not found error)

Can anyone help me with a variation of this command that will save the merged PDF doc? or perhaps a different method?

Thanks!

@GreatScott64
Copy link
Author

I also found a constructor for the FPDM class where there is a var for output, and the second parameter is used for an FPDF file if any, so it would be the third parameter, but have had no luck passing the ouput file name as a parameter or getting the class to simply save the PDF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant