On Thu 09 Mar 2023 at 15:01:00 +0100, Vincent Lefevre wrote: > On 2023-03-09 13:42:22 +0000, Brian wrote: > > For a searchable PDF, I would use > > > > :execute '!/usr/lib/cups/filter/texttopdf 1 1 1 1 1 % > out.pdf' > > > > cups-filters needs to be on the system. > > But it generates a letter page size instead of using /etc/papersize.
Pipe through pdftocairo -pdf -paper A4 - a4.pdf -- Brian.