Printing with Python

Discussion in 'Mac Programming' started by lpeedin, Oct 20, 2012.

  1. lpeedin macrumors regular

    Nov 4, 2011
    Does anyone know of a library/module that will allow access to a printer attached to an OSX device? I'm not talking about just dumping some raw text, I need to be able to set font parameters and just as important, I must be able to draw lines. I can do this under Windows/Python using the PyWin32 library.
  2. chown33 macrumors 604

    Aug 9, 2009
    What have you tried? Be specific.

    Here's what I tried, which took less than one minute:
    1. I selected the thread title: Printing with Python.

    2. I did a right-click and chose "Search with Google".

    3. On the first page of results was this:

    4. In the example, it mentions printing a PDF file. So the next step was googling: python pdf library

    5. On the first page of results is this:

Share This Page