How to print csv with gridlines from command

Hi,

is it possible to print csv with gridlines from command “libreoffice -p” ?

os = linux

Hi osaonline,

You will have to use two command line instructions to do so.

  1. be in the directory the CVS file is in.
  2. libreoffice --headless --convert-to pdf --outdir . filename.csv
  3. lpr -o fit-to-page filename.pdf

To show the community your question has been answered, open the More icon. Mehr anzeigen Then click the Solution to the correct answer. Solution gray Solution grün To “upvote” by clicking on the ^ arrow on the left of any helpful answers. If you like the post, click on the heart icon. Gefällt mir