Apologies but I didn’t understand exactly.
Do you want to generate PDF for WooCommerce Coupon code same as Voucher Code..?
If yes, than I think this doesn’t have anything to do with WooCommerce PDF Vouchers and will be a separate add-on.
Please clarify if I misunderstood you.
Thanks & Regards