Jump to content
John W

Cezpdf pdf-php creator

Recommended Posts

Posted (edited)

I don't know if anyone will have interest in this, so I won't spend a lot of time on this unless it gains traction.  Anyway, I use batch print from over a decade ago and didn't realize until yesterday that the pdf class was still being maintained.  Since I only sell in the US, I haven't run into many character encoding problems, but I imagine some of you do.  So, the new version of Cezpdf seems to work with all the characters.  It's also php 7.2 compliant.  Even better, I was able to replace my old Cezpdf and Cpdf class files and associated files.  With very little changes, it prints my invoice.  The pdf manual seems pretty useful, but I haven't gone very far into it yet.  The main snag I hit was using "addTextWrap", which requires a different order than before.  But, it has more functionality, so I can right justify for totals, which I couldn't do before.  addText also has changed.  I only have a few hours into it, but check the manual out.

So, I said wouldn't ramble too much.  If anyone is intersted you can find it at https://github.com/rospdf/pdf-php

Edited by John W
typo

I'm not really a dog.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×