Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26450

    We use PD4ML to render printable versions of our forms. I’ve read on the forum that PD4ML ignores the “print” media type. Is there any way to coax PD4ML to process styles assigned to this media type, so we don’t have to duplicate styles for “print” and proprietary “pdf” media types (in our case, they are essentially the same)

    Thanks!

    #28197

    Ignore me; I just found PD4Constants.PD4ML_MEDIA_TYPE_PRINT

    public static final java.lang.String PD4ML_MEDIA_TYPE_PRINT

    “pd4ml.media.type.print”. PD4ML by default interprets “screen”, “all” and “pdf” CSS media types. If the parameter is set to “add”, it adds to the list “print” media type. If it is set to “override”, it forces PD4ML to ignore “screen”, but use “print” instead.

    See Also:
    PD4ML.setDynamicParams(java.util.Map), Constant Field Values

    #28198

    Glad, you found the solution

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.