We are currently working on the forum. For the short-term, all forum content will be in read-only format. We apologize for the interruption and look forward to collaborating with you shortly. All the best in your research!

Printing casebook with data to PDF

Using QpenClinica's new casebook printing feature is there some way to save an image of a  completed casebook as a PDF file?
I want to save what the HTML image looks like as a PDF file. 


  • bbaumannbbaumann Posts: 105 admin
    Just right click on the page and select Print. Then choose a PDF printer. Of course, you'd need to have PDF printer/writer installed. There's a nice free one called CutePDF: http://www.cutepdf.com/
  • kristiakkristiak Posts: 1,340 ✭✭✭
    Agree with Ben, it is as simple as that!
  • eemshwileemshwil Posts: 10
    This feature would be great if when saving to a pdf the casebook wasn't 700+ pages!
  • ColinSuttonColinSutton Posts: 31
    via Email
    700 pages is OK . A casebook I produced in 2001 was 32 gigabytes on 41 CDs!
    Not with OpenClinica, obviously.
  • lindsay.stevenslindsay.stevens Posts: 404 ✭✭✭
    via Email
    It would be possible to automate. Use the ViewSectionDataEntry URL (aka
    view crf), and set the ecID parameter. If you have multiple tabs, set the
    tabId parameter too.

    For example:


    The ecID parameter is the event_crf_id column from the event_crf table in
    the openclinica database.

    The tabId is the sequential order of tabs, which can be figured out from
    the section table in the openclinica database. If your form only has one
    section then you can omit the parameter.

    Something like selenium could make short work of this. The automated
    testing extension posted recently would have good examples of the code to
    navigate to an OpenClinica URL and take a screenshot.

    A minor limitation is that viewcrf shows all fields, not what data entry
    looks like necessarily, after taking hidden fields into account. The
    challenge there is that you must call the correct data entry URL for the
    current crf status, either InitialDataEntry or AdministrativeEditing.
This discussion has been closed.