[Flask] Printing on formatted paper?

Dave Pawson dave.pawson at gmail.com
Mon Jul 4 02:44:05 EDT 2022


On Mon, 4 Jul 2022 at 02:39, CCP Dragonedge <ccp at drsb.com.my> wrote:
>
> Hi,
>
> I created a very simple inventory system for my company using Flask.
>
> One of the functions in my system allows users to print out a list of inventory. Kind of cheating - I just create a CSV file, and tell the user to download it and use Excel to print.
>
> I wonder, however, if there is a way to do "nice" printing. For example, like on a formatted sheet of paper (e.g. invoices). Can you actually manipulate printing at the Python / Flask level?

HTML->Word->printer?

>From Python, call up (shell) XSLT and convert to PDF  via XSL-FO?

HTH



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.


More information about the Flask mailing list