Print to PDF - blank

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

Print to PDF - blank

Stig-Arne
I have a problem with printing to PDF.
All prints will be blank.
I have checked that all layers have a pen width greater than 0.

My PDF printer's plot format settings don't seem to be received correctly in LibreCAD.
In the PDF printer it is set to A1 format and in drawing settings it is set to A1.
When printing, a warning box is displayed, see picture.

This shows that the printer's size setting is 0x0.
When printed, a blank A1 drawing is obtained.
Reply | Threaded
Open this post in threaded view
|

Re: Print to PDF - blank

aman
I usually check from print preview that everything is ok, then print from there.
Reply | Threaded
Open this post in threaded view
|

Re: Print to PDF - blank

dxli
In reply to this post by Stig-Arne
What's the version of LibreCAD?

I will see whether I can reproduce this one.

Is does it happen to all dxf files?

Are you using  File > Export > PDF, or File > Print?

Does command line work better?

LibreCAD.exe dxf2pdf foo.dxf

Stig-Arne wrote
I have a problem with printing to PDF.
All prints will be blank.
I have checked that all layers have a pen width greater than 0.

My PDF printer's plot format settings don't seem to be received correctly in LibreCAD.
In the PDF printer it is set to A1 format and in drawing settings it is set to A1.
When printing, a warning box is displayed, see picture.

This shows that the printer's size setting is 0x0.
When printed, a blank A1 drawing is obtained.
Reply | Threaded
Open this post in threaded view
|

Re: Print to PDF - blank

Stig-Arne
My version is 2.2.0.2
If I use File > Print or Print from Preview it's the same. A blank drawing.
I have discovered that it seems to be the setting on A1 format that is the cause of the error.
According to my PDF printer, the A1 format is 841.02 x 594.08.
I created a format 850 x 600.
When printing everything was correct.
Reply | Threaded
Open this post in threaded view
|

Re: Print to PDF - blank

dxli
Please get 2.2.1 release candidate,

https://github.com/LibreCAD/LibreCAD/releases

The issue should have been fixed.
Reply | Threaded
Open this post in threaded view
|

Re: Print to PDF - blank

Stig-Arne
Version 2.2.1_rc4-4-ga636f611 did not solve my problem.
Format A1 still gives blank drawing.
Format 850x600 gives the right look
Reply | Threaded
Open this post in threaded view
|

Re: Print to PDF - blank

dxli
Just tested with the same version on Linux, cannot reproduce the issue.

I am wondering whether it's a printer driver issue.

Created A1 as the drawing paper size, and "file > Print" , print to PDF, choose A1 as paper. It generates PDF with A1 in size.

I will test on Windows and Mac later on.

Stig-Arne wrote
Version 2.2.1_rc4-4-ga636f611 did not solve my problem.
Format A1 still gives blank drawing.
Format 850x600 gives the right look
Reply | Threaded
Open this post in threaded view
|

Re: Print to PDF - blank

dellus
In reply to this post by Stig-Arne
I have made the experience with printing troubles it can make a difference wether to select a fixed norm size like A1  or a manual custom input like 841x594. I think this might come from the printer driver code is based on inches (dpi) and then things are recalculated to metrics.
As 850x600 works it also might work with custom 841x594.
Reply | Threaded
Open this post in threaded view
|

Re: Print to PDF - blank

Stig-Arne
The closest format to A1 that works is 843.0 x 596.0.