I recently asked a question and accepted the answer, as it was a good guide on accessing the print composer using python. However, I am still looking for a way to print the custom feature form. Does anyone have ideas on how this can be implemented?

I was thinking of a start by using mapCanvas().saveasImage(), but I'm short on ideas as to how to move forward with a screen capture of the feature form.

  • I'm interested in the solution of your problem if you finaly got it ? I would like to do exactly the same thing with Qgis 3.4. I thaught we can use a python script in an action of the layer (Layer properties/ Actions). A plugin exists named cReports-master but developed in python 2. – User May 6 '19 at 13:49
  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review – aldo_tapia May 6 '19 at 14:12
  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review – whyzar May 6 '19 at 14:51
  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review – Mark Ireland May 6 '19 at 14:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.