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

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

yai
Junior Member
Posts: 14
Joined: Wed Oct 09, 2013 7:52 am

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

Post by yai » Wed Oct 09, 2013 8:57 am

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?

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: Cannot print / print preview

Post by andrew » Wed Oct 09, 2013 9:03 am

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.

yai
Junior Member
Posts: 14
Joined: Wed Oct 09, 2013 7:52 am

Re: Cannot print / print preview

Post by yai » Wed Oct 09, 2013 11:44 am

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.

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: Cannot print / print preview [Solved]

Post by andrew » Wed Oct 09, 2013 11:52 am

OK, great. Thanks for letting me know.

yai
Junior Member
Posts: 14
Joined: Wed Oct 09, 2013 7:52 am

Re: Cannot print / print preview [Solved]

Post by yai » Wed Oct 09, 2013 12:13 pm

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.

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: Cannot print / print preview [Solved]

Post by andrew » Wed Oct 09, 2013 12:19 pm

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.

yai
Junior Member
Posts: 14
Joined: Wed Oct 09, 2013 7:52 am

Re: Cannot print / print preview [Solved]

Post by yai » Wed Oct 09, 2013 12:25 pm

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!

yai
Junior Member
Posts: 14
Joined: Wed Oct 09, 2013 7:52 am

Re: Cannot print / print preview [Solved]

Post by yai » Wed Oct 09, 2013 12:43 pm

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!

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: Cannot print / print preview [Solved]

Post by andrew » Wed Oct 09, 2013 2:34 pm

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.

yai
Junior Member
Posts: 14
Joined: Wed Oct 09, 2013 7:52 am

Re: Cannot print / print preview [Solved]

Post by yai » Thu Oct 10, 2013 7:01 am

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.

yai
Junior Member
Posts: 14
Joined: Wed Oct 09, 2013 7:52 am

Re: Cannot print / print preview [Solved]

Post by yai » Thu Oct 10, 2013 9:06 am

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".

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: Cannot print / print preview

Post by andrew » Thu Oct 10, 2013 9:49 am

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

yai
Junior Member
Posts: 14
Joined: Wed Oct 09, 2013 7:52 am

Re: QCAD Community Edition: Cannot print / print preview

Post by yai » Thu Oct 10, 2013 10:09 am

no additional error messages with script debugger enabled.

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: QCAD Community Edition: Cannot print / print preview

Post by andrew » Thu Oct 10, 2013 10:12 am

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.

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: QCAD Community Edition: Cannot print / print preview

Post by andrew » Thu Oct 10, 2013 10:22 am

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

Post Reply

Return to “QCAD Troubleshooting and Problems”