mccarlosen / laravel-mpdf

Generate PDFs in Laravel with Mpdf.
400 stars 107 forks source link

Spot Color #130

Open azc666 opened 1 year ago

azc666 commented 1 year ago

in mpdf i can use spot color but in laravel-mpdf Method Mccarlosen\LaravelMpdf\LaravelMpdf::AddSpotColor does not exist.

Can I use spot colors? Is the class misnamed?

zaidhaziq commented 1 year ago

The 'LaravelMpdf' package does not contain the 'AddSpotColor' method. This package does not directly support spot color functionality.

azc666 commented 1 year ago

That is disappointing. I need to send clients print ready pdf's with spot color, not cmyk. I was using domPDF, (no spot color support), decided to try mpdf which does show the spot color in the pdf's it creates but the workflow kinda sucks compared to domPDF. Since laravel-mpdf uses the mpdf library I thought spot colors would work and I would have a similar workflow to domPDF. Oh well :(