Skip to content

Update print_win32_vector.py

LemonBoy requested to merge LemonBoy/extensions:win32-vector-print into master

What does the merge request do?

Make the extension usable again on Inkscape >= 1.0.

Closes #417 (closed)

Implementation notes

The commit fixes many improper uses of the ctypes module that caused the extension not to work on 64bit Windows. Moreover the code was using some old, deprecated, and/or removed Inkex API functions, this PR also fixes those.

The extension is now functional and has been tested on Windows 10, using an Epilog Mini laser printer.

Checklist

  • Add unit tests (if applicable)
  • Changes to inkex/ are well documented
  • Clean merge request history

Merge request reports