[Dropped] First page blank only when printing from command line

Issues with installing under all GNU/Linux Distributions
Locked
mik3ca
Posts: 4
Joined: Mon May 01, 2023 2:58 am

[Dropped] First page blank only when printing from command line

Post by mik3ca »

Hello,

I have a CUPS-PDF printer to generate PDF files and I ran tests.

I created a rather simple HTML file with no javascript and hardly any styles.

I can load the HTML document in Open Office perfectly file and it shows one page as expected. If I print from within the program it does just one page as expected.

However, when I run the exact same file from the command line to print it, it prints two pages. The first page being completely blank, and the second page as the entire document.

Here is what I used to try to print from the command line in the open office executable folder:

./soffice.bin -p /path/to/htmldocumenttoprint.htm

I'm using Open Office version 4.1.7 for Linux.
Last edited by MrProgrammer on Fri Jan 17, 2025 11:00 pm, edited 1 time in total.
Reason: Dropped: No attachment from mik3ca when requested
Open office 4.1.7 - Slackware Linux 14.2
Bidouille
Volunteer
Posts: 660
Joined: Mon Nov 19, 2007 10:58 am
Location: France

Re: First page blank only when printing from command line

Post by Bidouille »

mik3ca wrote: Mon Jun 10, 2024 3:16 am However, when I run the exact same file from the command line to print it, it prints two pages. The first page being completely blank, and the second page as the entire document.
To answer this question, you would have to provide a document.
Please put it in ZIP format, as HTML is not allowed.
Locked