Page 1 of 2

QCAD Community Edition: Cannot print/print preview [Solved]

Posted: Wed Oct 09, 2013 8:57 am
by yai
community edition 3.2.0.0 qt 4.8.4 gcc 4.4.3
qcad-3.2.0-linux-x86_64

cannot print or print preview, just nothing happens (no dialogs popping up etc). i also have 2.0.5.0 (community edition) installed on same system, which prints with no problem.
OS is openSuSE 12.2 64bit
qcad 2.0.5.0 is installed in /usr/share, qcad 3.2.0.0 ist installed in user's home directory
any suggestions, e.g. log files to look for?

Re: Cannot print / print preview

Posted: Wed Oct 09, 2013 9:03 am
by andrew
I'd recommend to first update to the latest version of QCAD (3.3.3) to rule out that the problem might have been fixed meanwhile. Please report back if the problem persists.

Please indicate also if this a downloaded or self-compiled binary. Thanks.

Re: Cannot print / print preview

Posted: Wed Oct 09, 2013 11:44 am
by yai
seems that the problem has been fixed - no printing problem in 3.3.3.0.

to make this complete: it was the qcad-3.2.0-linux-x86_64.tar.gz download, unpacked to the user's home and chmod to his uid/gid
everything works fine in the qcad-3.3.3-linux-x86_64.tar.gz download.
Thänx!!

bye, yai.

Re: Cannot print / print preview [Solved]

Posted: Wed Oct 09, 2013 11:52 am
by andrew
OK, great. Thanks for letting me know.

Re: Cannot print / print preview [Solved]

Posted: Wed Oct 09, 2013 12:13 pm
by yai
my last post was too quick:
printing does not work in either version as soon as i remove pro-tools or pro-tools gets inactive after 15 minutes. Do i need pro-tools to print? In the feature list it says that printing should work in all versions and only stuff like printing to multiple pages etc. only works in the commercial version.
Probably i'll have to restart qcad to print or buy the commercial version.
bye,
yai.

Re: Cannot print / print preview [Solved]

Posted: Wed Oct 09, 2013 12:19 pm
by andrew
If you are not using the QCAD Pro plugins, you can simply remove them ([x] button in Trial window at the right). This leaves you with the QCAD Community Edition which should indeed be able to print. You might have to restart QCAD after removing the plugins.

Re: Cannot print / print preview [Solved]

Posted: Wed Oct 09, 2013 12:25 pm
by yai
as i said before: if pro-tools inactivates itself or if i remove it, i cannot print afterwards (even after restart of qcad), there is no print dialog!

Re: Cannot print / print preview [Solved]

Posted: Wed Oct 09, 2013 12:43 pm
by yai
now i didn't remove pro-tool but waited for it to inactivate itself, and it says:

Das Werkzeug Drucken ist Teil des Pro Tools Add-Ons.
Die Testversion des Add-Ons Pro Tools ist nicht mehr aktiv (restart required)

seems like the community version does not support printing!

Re: Cannot print / print preview [Solved]

Posted: Wed Oct 09, 2013 2:34 pm
by andrew
QCAD Pro replaces the printing module of QCAD. The only way to print with the community edition is to completely remove the QCAD Pro plugin. When the plugin is only deactivated, the original printing module is not being restored.

I've just double-checked and after removing the QCAD Pro trial plugin and restarting QCAD, I can print without problems here. If that is not the case for you, you might have discovered a bug. Thanks for any details you can provide.

PS: As an alternative, you can also try to export your drawing as PDF instead and print that with a PDF viewer. There is no loss in quality by going that route.

Re: Cannot print / print preview [Solved]

Posted: Thu Oct 10, 2013 7:01 am
by yai
Hi Andrew,
i tried this with the 32 bit version and it's the same problem. I only tried the .tar.gz files so far, not the .bin installers.
What i observed is:
when qcad disables the pro-tools or other addons, it just renames the respective library in the plugins directory from e.g. libqcadproscripts.so to libqcadproscripts.disabled. Qcad does the same thing when i remove the addon. Nothing is installed as a replacement.
bye,
yai.

Re: Cannot print / print preview [Solved]

Posted: Thu Oct 10, 2013 9:06 am
by yai
so now i tried the .bin installer (64bit), and after removing pro-tool i try to print. Nothing happens. When i start qcad from the command line, i see debug messages, and it says "Debug: got NO initDialog".

Re: Cannot print / print preview

Posted: Thu Oct 10, 2013 9:49 am
by andrew
Thanks for the details.
I've filed a bug report at:
http://www.qcad.org/bugtracker/index.ph ... ask_id=938

I cannot reproduce the problem here, so unfortunately, this might not be solved anytime soon.
One thing you might want to try is launching QCAD with the -enable-script-debugger switch, see if that yields any error:
./qcad -enable-script-debugger

Re: QCAD Community Edition: Cannot print / print preview

Posted: Thu Oct 10, 2013 10:09 am
by yai
no additional error messages with script debugger enabled.

Re: QCAD Community Edition: Cannot print / print preview

Posted: Thu Oct 10, 2013 10:12 am
by andrew
Quick update: I don't have OpenSUSE 12.2 64bit here, but I tried to reproduce the problem on OpenSUSE 12.3 64bit - without success. Everything works as expected here.

Re: QCAD Community Edition: Cannot print / print preview

Posted: Thu Oct 10, 2013 10:22 am
by andrew
Just to make sure we're on the same page, can you confirm that the following is what happens?
- install QCAD 3.3.3
- launch QCAD
- remove all trial plugins by clicking on the [x] button next to them and confirming the removal / restart warning
- quit QCAD
- re-launch QCAD
      -> there is no longer a trial window which lists the plugins running in trial mode
- draw a rectangle, etc.
- menu 'File' - 'Print Preview'
      -> instead of showing the print preview with the printing tools in the options tool bar, nothing happens