The test file at https://github.com/mozilla/pdf.js/blob/master/test/pdfs/annotation-choice-widget.pdf contains listboxes, which are not rendered correctly when printed right now. These kinds of fields are made by https://github.com/mozilla/pdf.js/blob/master/src/display/annotation_layer.js#L672-L678.

/cc @calixteman 
}
      const appearance = await annotation._getAppearance(
        partialEvaluator,
        task,
        annotationStorage
      
      const utf16String =
        "\x30\x53\x30\x93\x30\x6b\x30\x61\x30\x6f\x4e\x16\x75\x4c\x30\x6e";
      expect(appearance).toEqual(
        "/Tx BMC q BT /Goth 5 Tf 1 0 0 1 0 0 Tm" +
          ` 2.00 2.00 Td (${utf16String}) Tj ET Q EMC`
      
    }
    it("should render regular text for printing using normal appearance", async function () {
      const textWidgetRef = Ref.get(271, 0
      const appearanceStatesDict = new Dict(
      const normalAppearanceDict = new Dict(
      const normalAppearanceStream = new StringStream("0.1 0.2 0.3 rg"
      normalAppearanceStream.dict = normalAppearanceDict;
      appearanceStatesDict.set("N", normalAppearanceStream
      textWidgetDict.set("AP", appearanceStatesDict
      const xref = new XRefMock([
        { ref: textWidgetRef, data: textWidgetDict },
        helvRefObj,
      ]
      const task = new WorkerTask("test print"
      partialEvaluator.xref = xref;
      const annotation = await AnnotationFactory.create(
        xref,
        textWidgetRef,