How to print xlsx (excel) file with grid borderline?

asked 2018-10-26 07:01:32 +0200

igenyar gravatar image

updated 2018-10-26 07:02:39 +0200

I need to print xlsx using command line. This is the command I use.

$ libreoffice --headless --print-to-file output.ps example.xlsx
$ ps2pdf output.ps output.pdf

As shown, I first print to ps then convert to pdf. But the file printed does not have grid borderline. Is there way to include borderline in the print? Note, I don't want GUI solution, only CLI. Thanks for the help

edit retag flag offensive close merge delete