hm, print
This commit is contained in:
parent
d7bc143079
commit
03be400179
|
@ -570,7 +570,7 @@ def product_pdf(request):
|
||||||
m = product.get_print_multiplier(dpi)
|
m = product.get_print_multiplier(dpi)
|
||||||
url_list = []
|
url_list = []
|
||||||
for p in pages:
|
for p in pages:
|
||||||
url = SITE_BASE + "/edit/view_article/%d/?m=%f&p=%d'" % (p.article.id, m, p.id)
|
url = SITE_BASE + "/edit/view_article/%d/?m=%f'" % (p.article.id, m)
|
||||||
url_list.append(url)
|
url_list.append(url)
|
||||||
output_path = MEDIA_ROOT + "/pdf/" + product.title + ".pdf"
|
output_path = MEDIA_ROOT + "/pdf/" + product.title + ".pdf"
|
||||||
pdf_path = print_url_list(url_list, width_mm, height_mm, output_path)
|
pdf_path = print_url_list(url_list, width_mm, height_mm, output_path)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user