Ticket #3552 (new feature)

Opened 20 months ago

Printing: a client-side function proposition that uses Canvas

Reported by: theyouyou Owned by:
Priority: minor Milestone: 2.13 Release
Component: Control Version: 2.11
Keywords: Cc:
State:

Description

Some people aren't satisfied with the browser's print rendering and other don't want to setup MapFish.

So when I heard about this script :  https://github.com/niklasvh/html2canvas which as described, takes DOM elements to render it all as a one canvas, I tryed something:

I managed to something good, except that it doesn't include Vector yet.  https://github.com/niklasvh/html2canvas/issues/10

Try it by yourself, I've attached an example code

Attachments

print_code.js Download (1.8 KB) - added by theyouyou 20 months ago.
Print Example with html2canvas

Change History

Changed 20 months ago by theyouyou

Print Example with html2canvas

Note: See TracTickets for help on using tickets.