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
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Unable to print (0.18 final)

Post by openBrain »

openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Unable to print (0.18 final)

Post by openBrain »

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
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Unable to print (0.18 final)

Post by Kunda1 »

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?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
wandererfan
Veteran
Posts: 6324
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Unable to print (0.18 final)

Post by wandererfan »

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

Re: Unable to print (0.18 final)

Post by apeltauer »

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
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Unable to print (0.18 final)

Post by Kunda1 »

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!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

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

Post by Kunda1 »

When this is fixed it should be backported.. since this is not trivial. What do you think @chrisb?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
apeltauer
Posts: 399
Joined: Fri Aug 11, 2017 2:19 pm

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

Post by apeltauer »

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
Veteran
Posts: 54285
Joined: Tue Mar 17, 2015 9:14 am

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

Post by chrisb »

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.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

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

Post by Kunda1 »

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?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply