Tuesday, December 19, 2017

Re: print option with django application

if you just want to print data that's already on the page, but in different style, you need to implement a print-specific CSS stylesheet for your templates

if you want to print data that doesn't exist in the page, there's no way to do that.  You can implement a server side view that will trigger a download response to the browser, but forcing an automatic print is not doable.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/575c615e-0faf-40e9-b513-e507ce310ccf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment