How to do the printing and the import?


#1

Hello everyone,

I am working on a web application, that manages an office, i am using meteor.
In this application we have bills to print, but i don’t have any idea how to do this, can anyone help me please ?
Is there any package in meteor, that i can use ?

i also have an other question, how can I import a file (docx, pdf) into my application ?

Thank you.


#2

well printing is not a Meteor feature it’s a HTML feature. Basically you should optimize your site to be print friendly (there are media queries for that) so users can either press ctrl+p to print or you can have a button that calls out window.print(). OR if you need to print not the page but some specific document, well I’m not sure about this :smile:

Saving user files can be done with CollectionFS, but it’s not incredibly straight-forward.


#3

Thank you KristerV, i will try this