Problem with ENKETO PDF printout

Greetings community,

I am having trouble with the PDF printout of a form from enketo. The form is a grid-theme appearance with several tables. The Print preview is not consistent. At times it is coloured (as i would like) and other times it is in black and white. All of this is happening using the same browser, same form, same printer settings for both the browser and enketo (A4 Portrait coloured). There is also a problem with text randomly getting bold or repeated as well as the boundaries of the some of the tables disappearing. Look at the pictures of sections of the form for clarification below.

  1. Coloured section with boundaries missing:

  2. Coloured section with text repetition and un expected bold
    image

  3. Black & white: image

The black and white render is the most common to appear. It is more organized but I need the colour to remain and the boundaries to remain intact as well in the pdf.

Could this be a bug with enketo? Can someone suggest a possible remedy to this? I would like to have the pdf printout to appear as on the screen during form filling.

A screenshot would be a good remedy but some of the text wouldn’t appear as it is not text wrapped.

Could you also provide us the browser and server you are currently using?

I’m using Google chrome and the form is hosted on Kobo. Now that you mention it, I have tried using Microsoft edge and the form also comes out in black and white without any problems with the boundaries or repetition but some of the longer string inputs are still bold unexpectedly.

Is the black and white render intentional? Can it be colored?

I mean, is it a self hosted server or one of the servers (HHI or OCHA) hosted by KoBoToolbox?

No it isn’t self hosted. It is the HHI server.. IT is not the humanitarian response server

Could you also list out the steps on how you try to print a PDF. Maybe we could follow your steps so that we could be able to replicate your issue at our end.

I have tried two different approaches.

  1. First is after filling the form via enketo, I click the print button in the top right corner of the page. Then accept the settings and view the print preview then proceed to print to PDF.

  2. I submit the filled form via enketo and then via the submission edit option on the server. I try to print the submission using the print button as above.

In both cases, the print is either colored with distortion or it’s black and white with minimal errors. Note: that my form has several tables generated using the matrix question type. Some of these tables are grouped. Aside from the print issue, it mostly works as expected.

Any of those options should generate a similar defective appearance in the PDF.

Hi @marc
Could you please send us a link to the form on a private message cc @Kal_Lam?
Can you also try this on another browser?

Stephane

So you mean to say the form is colored while trying to fill it up:

But the same is in blank and white while printing it out:

Did I get you correctly?

Yes, that is both the render. However some fields of input string come out as bold unexpectedly. I would wish the text would appear as neat as on the Enketo render without the ‘dotted sequence’. I would mot mind the black and white but a choice between the two would be more effective and an end to the random bold answers seem like a bug…

1 Like

@marc, maybe a features improvement request here could help us document your suggestions systematically.

HI @marc
Could you please confirm if this is still an issue. Apologies, I may have missed this particular message.

Stephane

1 Like

@stephanealoo Thank you. The pdf is much more stable especially under A4 print settings. Hopefully a colour version will also be available in future improvements.

2 Likes