abey79 / vpype

The Swiss-Army-knife command-line tool for plotter vector graphics.
https://vpype.readthedocs.io/
MIT License
702 stars 61 forks source link

`write` command: cannot infer page size when it should in HPGL mode #319

Closed abey79 closed 3 years ago

abey79 commented 3 years ago
$ vpype rect 0 0 10cm 2cm layout a4 write -f hpgl -
ERROR:root:write: the plotter page size could not be inferred from the current page size (use the `--page-size SIZE` option)
abey79 commented 3 years ago

Issue: the logic in _get_hpgl_config() (io.py) should be moved to get_plotter_config() (in config.py), to benefit the write command implementation.