[Tutor] printing in python 3.x

Rance Hall ranceh at gmail.com
Fri Dec 3 05:30:24 CET 2010


I've been working on this cli based python 3.x app for a friends shop.
 So far, everything is working well.  We are now ready to start
development on a new module of my code.

The shop is a repair shop, and I've already done the code for client
management and employee management and all the framework and
supporting stuff, but now its time to check  in broken items for
repair and print a reciept for the customer and a shop ticket for the
item.

shop tickets are easy to do *we think*, we think all we need to do is
create a "template" text file, and open that text file, sub markers
for real data, and create a temp file then send that to the printer
with the functions of the underlying OS.  In my tests on windows this
worked fine.

But shop owner wants to do something nicer with the customer receipts.
 He is talking shop logos and pdf files.

I have several issues.

Google keeps bringing up ReportLib and the python imaging library, but
neither have a 3.x compatible version yet.

Shop owner is talking about eventually being able to save customer
check in tickets and check out tickets on a web site where clients can
log in and check on their work.

My thought is that this is perfect for PDF files, but they aren't
available on 3.x yet.

What other options do I have?

I looked at word integration and openoffice integration and they dont
look ready for 3.x yet either.


More information about the Tutor mailing list