Ticket #3953 - Unable to print (0.18 final)

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
openBrain
Posts: 2764
Joined: Fri Nov 09, 2018 5:38 pm

Re: Unable to print (0.18 final)

Postby openBrain » Tue Apr 30, 2019 8:14 pm

openBrain
Posts: 2764
Joined: Fri Nov 09, 2018 5:38 pm

Re: Unable to print (0.18 final)

Postby openBrain » Mon May 13, 2019 9:01 am

Hi all,

Below a fix found by @PAT64 in the french forum. Seems to address only Windows, but maybe can provide clues for other OSes. ;)
Notice that I didn't try it, just translated. :)
Just found a solution for printing with FC 0.xx Qt5 & Py3
I downloaded the FreeCadLibs_12.2*64Vc15.7z file that I unzipped, then by browsing the content I found a printsupport folder that contains 2 Win DLLs.
Thus I copied this folder into the bin folder of 0.19.16699 (Qt5 Py3) and surprisingly preview & printing work.
To be tested by others
User avatar
Kunda1
Posts: 6218
Joined: Thu Jan 05, 2017 9:03 pm

Re: Unable to print (0.18 final)

Postby Kunda1 » Fri Aug 30, 2019 8:34 pm

apeltauer wrote:ding
Hi @apeltrauer, is this something you mind assisting with? Thanks in advance!

Edit: to elaborate, is there a way perhaps via CMake that such a workaround, stated above, could be more permanent?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
wandererfan
Posts: 3333
Joined: Tue Nov 06, 2012 5:42 pm

Re: Unable to print (0.18 final)

Postby wandererfan » Sat Aug 31, 2019 12:23 pm

User avatar
apeltauer
Posts: 219
Joined: Fri Aug 11, 2017 2:19 pm

Re: Unable to print (0.18 final)

Postby apeltauer » Sat Aug 31, 2019 12:51 pm

Kunda1 wrote:
Fri Aug 30, 2019 8:34 pm
apeltauer wrote:ding
Hi @apeltrauer, is this something you mind assisting with? Thanks in advance!

Edit: to elaborate, is there a way perhaps via CMake that such a workaround, stated above, could be more permanent?
I will have a look at this on Monday. If it’s just coping 2 dlls we could make it with cmake.
User avatar
Kunda1
Posts: 6218
Joined: Thu Jan 05, 2017 9:03 pm

Re: Unable to print (0.18 final)

Postby Kunda1 » Sat Aug 31, 2019 5:30 pm

apeltauer wrote:
Sat Aug 31, 2019 12:51 pm
I will have a look at this on Monday. If it’s just coping 2 dlls we could make it with cmake.
Thanks a lot!
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 6218
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #3953 - Unable to print (0.18 final)

Postby Kunda1 » Sun Sep 01, 2019 1:46 pm

When this is fixed it should be backported.. since this is not trivial. What do you think @chrisb?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
apeltauer
Posts: 219
Joined: Fri Aug 11, 2017 2:19 pm

Re: Ticket #3953 - Unable to print (0.18 final)

Postby apeltauer » Mon Sep 02, 2019 5:53 am

Hi all, i just checked if the print is not working. Here on my machines print is working as expected.
My config:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17959 +1516 (Git)
Build type: Release
Branch: wb_apeltauer_fc_big_merge
Hash: 989f2d0237305187dedf873c9d80b26aa78ef28d
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Germany (en_DE)

If i look in the bin folder of the libpack i find the dll "Qt5PrintSupport.dll".
I have also read the thread, but i think the user was using the conda build with qt5.6. So maybe some one can check this with a conda build?
wandererfan wrote:
Sat Aug 31, 2019 12:23 pm
Related post.
chrisb
Posts: 20632
Joined: Tue Mar 17, 2015 9:14 am

Re: Ticket #3953 - Unable to print (0.18 final)

Postby chrisb » Mon Sep 02, 2019 6:39 am

Kunda1 wrote:
Sun Sep 01, 2019 1:46 pm
When this is fixed it should be backported.. since this is not trivial. What do you think @chrisb?
I'm all for a backport, especially in the current situation where the Big Link Merge will have to settle before returning to our well known very high quality pre-versions.
User avatar
Kunda1
Posts: 6218
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #3953 - Unable to print (0.18 final)

Postby Kunda1 » Mon Sep 02, 2019 12:58 pm

apeltauer wrote:
Mon Sep 02, 2019 5:53 am
Hi all, i just checked if the print is not working. Here on my machines print is working as expected.
apeltauer wrote:
Mon Sep 02, 2019 5:53 am
If i look in the bin folder of the libpack i find the dll "Qt5PrintSupport.dll".
I have also read the thread, but i think the user was using the conda build with qt5.6. So maybe some one can check this with a conda build?
sgrogan wrote:
I'm trying to figure out how to check the conda build but it's a bit convoluted for me. Care to try?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features