Re: suggest: native .pdf export [message #903 is a reply to message #898] |
Tue, 12 May 2020 16:03 ![Go to previous message Go to previous message](/forum/theme/myThemeWithHFCSS/images/up.png) ![Go to next message Go to previous message](/forum/theme/myThemeWithHFCSS/images/down.png) |
nbehrnd
Messages: 215 Registered: June 2019
|
Senior Member |
|
|
It was possible to replicate the indicated method using the cups pdf printer.
As a closing comment:
Still interested to benefit more from the vector format I wrote a Python script
that reads some of DW's .dwar file content and the retained list of SMILES strings,
calls openabel to visualize the structures, and puts all in an .xlsx file. The
manual work then left was to open this file in LibreOffice Calc, to adjust the
images' sizes to fit the cell size, to apply conditional cell background colors
and to save it as .ods. The file size of the then exported .pdf is slightly less
than half of the one printing from DW with cups while still offering a searchable,
crisply printed text layer, too.
-
Attachment: table_S3.smi
(Size: 7.79KB, Downloaded 407 times)
-
Attachment: table_S3.dwar
(Size: 22.49KB, Downloaded 409 times)
-
Attachment: spreadsheet_test.py
(Size: 4.35KB, Downloaded 474 times)
-
Attachment: test.ods
(Size: 1.08MB, Downloaded 417 times)
-
Attachment: test.pdf
(Size: 850.78KB, Downloaded 477 times)
|
|
|