What is a good printing library for wxpython, python code, and on windows?

Posted on 2009-04-30
Last Modified: 2013-11-13
I am working on a serialized inventory system, written in python, and my GUIs are written using wxpython. I need a good interface to write the local and networked/shared printers. I can figure out the gui side and finding the available printers, i just want a nice library to format the data out the printer. Something that allows me to draw lines, color, write BMPs and use fonts...
Question by:disASM
    1 Comment
    LVL 28

    Accepted Solution

    Basically, there are two ways of printing: text mode and graphical mode. In your case, you want to use the graphic mode. For MS Windows, the principles of printing to any printer are very similar as displaying the content on the screen. You have to open the printer and get the device context. Then you are using the device context to draw the texts using selected fonts, drawing images...

    The OS kerner transforms the operations to the Windows Metafile format and sends it to the printer driver.

    Now, the question is... are you familiar with all of that or you need something often called the report generator?

    For wxPython support, see (or possibly the related wxWidget doc

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    This article will show, step by step, how to integrate R code into a R Sweave document
    If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
    Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
    Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now