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)
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.
PD4ML.setDynamicParams(java.util.Map), Constant Field Values