Print and export PDF are virtually empty!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Print and export PDF are virtually empty!

johnericsutton
Hi there

I hit this problem time and again and usually resolve it by taking a screenshot of the Print Preview screen, which is not very satisfactory!

I attach my dxf file, a screenshot of the Print Preview screen, and the PDF file.

I want a PDF of my efforts but the only thing visible in the PDF are the arrow heads of the dimension, everything else has vanished.  This is the same whether I do File/Export/Export as PDF or Print/Print to File (PDF).

I'm using version 2.1.3 on Ubuntu 20.04.  Please tell me how to fix this!

Thanks

FleurStaging.dxf
Screenshot_from_2026-03-09_19-43-17.png
FleurStaging.pdf
Reply | Threaded
Open this post in threaded view
|

Re: Print and export PDF are virtually empty!

sand1024
I've tested this in 2.2.2-alpha (yet under win) - both preview and pdf works as expected.
As a workaround - please try how it behaves in development version (available there:
https://github.com/LibreCAD/LibreCAD/releases/tag/2.2.2_alpha-latest)
Reply | Threaded
Open this post in threaded view
|

Re: Print and export PDF are virtually empty!

dellus
In reply to this post by johnericsutton
The issue is that in your drawing all lines are in line thickness as by layer. In version 2.1.3 line thickness for layers is by default 0.00 mm. Most pdf-viewers show this as very faint or even not existent.

In the 2.2.2 development versions the default line width for layer 0 is 0.25mm to avoid this problem.

So just change the line width of Layer 0 to a sensible value.
Reply | Threaded
Open this post in threaded view
|

Re: Print and export PDF are virtually empty!

johnericsutton
Thanks for that dellus, that has fixed it, eventually...

Funny thing is, it didn't _immediately_ fix it, which I know sounds like an absurd statement.  I thrashed around for 10 minutes, changing the layer attributes, saving the dxf file, exporting, sometimes deleting the exported pdf so that I could be sure it was being overwritten, adding new lines to the drawing, and around again, and again, and then suddenly, for no obvious reason, the pdf contains stuff!  And once it's decided it's going to work, it continues working... until the next time it decides to play monkey business.

I've experienced this weird behaviour many times over the years with Librecad, I've never gotten to the bottom of it, and I don't suppose I ever will.  At some point I will get around to upgrading my OS (Ubuntu 20.04 is EOL) and installing a newer version of Librecad, at which appoint I hope and pray that this will just be a bad memory...

Thanks again.