On 28 Feb 2021, at 19:58, Robin Becker <robin at reportlab.com> wrote: > > so rob you should use > > c = canvas.Canvas(sys.stdout.buffer) > Thank you. This worked perfectly. Regards, Rob