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 
annotationStorage.set(annotation.data.id, { value: "test\\print" }
      const appearance = await annotation._getAppearance(
        partialEvaluator,
        task,
        annotationStorage
      
      expect(appearance).toEqual(
        "/Tx BMC q BT /Helv 5 Tf 1 0 0 1 0 0 Tm" +
          " 2.00 3.04 Td (test\\\\print) Tj ET Q EMC"
      
    }
    it("should render regular text in Japanese for printing", async function () {
      textWidgetDict.get("DR").get("Font").set("Goth", gothRefObj.ref
      textWidgetDict.set("DA", "/Goth 5 Tf"
      const textWidgetRef = Ref.get(271, 0
      const xref = new XRefMock([
        { ref: textWidgetRef, data: textWidgetDict },
        gothRefObj,
      ]
      const task = new WorkerTask("test print"
      partialEvaluator.xref = xref;
      const annotation = await AnnotationFactory.create(
        xref,
        textWidgetRef,
        pdfManagerMock,
        idFactoryMock
      
      const annotationStorage = new Map(
      annotationStorage.set(annotation.data.id, {
        value: "こんにちは世界の",