"G. Branden Robinson" <g.branden.robin...@gmail.com> a écrit :
> At 2024-05-22T09:28:46+0200, Thomas Dupond via wrote:
>> Damian McGuckin <dami...@esi.com.au> a écrit :
>> > Yes. We process a database to automatically generate the invoice
>> > details which is then run through 'groff -mm' to provide the invoice
>> > on a company letterhead.
>> 
>> Also did an ersatz of this at my previous job to generate numbered
>> invoices.  The hardest part was finding the company logo in postscript
>> format :D
>
> If you're outputting PDF, you can use groff's `PDFPIC` macro from the
> stock "pdfpic.tmac" file to achieve the same end.
>
> https://git.savannah.gnu.org/cgit/groff.git/tree/tmac/pdfpic.tmac?h=1.23.0

Yes!  Tremendous macro file this one.  Although I don’t remember
exactly why I used postscript but I think it is because I compiled in
the default Debian WSL on MS Windows without an admin account.  By
default Debian does not include the full groff package and thus you
cannot output to PDF, only to PS.

Regards,
-- 
Thomas


Reply via email to