Create PDF from OBX data

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Create PDF from OBX data

  • Creator
    Topic
  • #55540
    Mike Keys
    Participant

      I assume I would use the base64::encode function to do this?

    Viewing 1 reply thread
    • Author
      Replies
      • #85674
        Mark Thompson
        Participant

          Hello Mike,

          There is a lot of structure to PDF files that we don’t have built-in tools for in Cloverleaf.  There’s not much detail here about your requirements, but you might want to check out a package like pdf4tcl.  Make sure whatever you use to actually write the file is has binary mode set.  If you are going to embed the PDF in an HL7 message, watch out for any required escaping of HL7 delimiter characters.

          - Mark Thompson
          HealthPartners

        • #85675
          Mike Keys
          Participant

            Mark,

            Funny you mention pdf4tcl, as that’s what I’ve been playing around with today and finally got to work.

            Mike

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.