[Checkins] SVN: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/ fixes
Andreas Jung
andreas at andreas-jung.com
Sun Oct 19 05:10:22 EDT 2008
Log message for revision 92373:
fixes
Changed:
U zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/demo_app.py
U zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card_template.pt
-=-
Modified: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/demo_app.py
===================================================================
--- zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/demo_app.py 2008-10-19 09:05:01 UTC (rev 92372)
+++ zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/demo_app.py 2008-10-19 09:10:21 UTC (rev 92373)
@@ -30,7 +30,7 @@
from zopyx.convert2.registry import availableConverters
- for fullname in ('Andreas Jung', 'Heinz Becker', ' Hilde Becker'):
+ for fullname in ('Andreas Jung', 'Heinz Becker', 'Hilde Becker'):
context = TestContent()
result = convert(context=context,
@@ -39,6 +39,7 @@
resource_name='demo',
converter='pdf-prince',
template_options=dict(fullname=fullname),
+ destination_filename='%s.pdf' % fullname,
)
print 'Generated:', os.path.abspath(result)
Modified: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card_template.pt
===================================================================
--- zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card_template.pt 2008-10-19 09:05:01 UTC (rev 92372)
+++ zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card_template.pt 2008-10-19 09:10:21 UTC (rev 92373)
@@ -8,7 +8,6 @@
</head>
<body>
<div id="logo">
- <img src="http://zopyx.com/test_resources/zopyx1.png" />
</div>
<div id="desc">
<ul>
More information about the Checkins
mailing list