tray icon indicating copy to clipboard operation
tray copied to clipboard

@media print CSS

Open tresf opened this issue 8 years ago • 3 comments

Migrated from https://github.com/qzind/qz-print/issues/190.


@vt09 wrote:

Currently, html content under @media print style still appear in rendered file.

For example, we have setting as below.

  /*HIGHLIGHT/NOTIFICATION PAGE DOESN'T NEED TO BE PRINTED*/
  @media print {
      #page0 {
          display:none;
      }
  }

... or

From the mailing list:

@media print { .pagebreak {page-break-after: always;}}
<div id="page0">
    <b style="font-size:40px;">Payment type of this order:</b>
    <h1>Cybersource_CreditCard</h1>
    <br/>
    <hr color="#000000" />
    <br/>
</div>

Do our printHTML support this style?

tresf avatar May 10 '16 04:05 tresf

It appears JavaFX does not support the @media tag currently per: https://bugs.openjdk.java.net/browse/JDK-8091994

Closing as wont-fix for now. We can reopen this issue if Oracle changes this behavior down the road.

tresf avatar Nov 03 '16 20:11 tresf

hi any fix for this one??

noehcc avatar Jul 25 '17 10:07 noehcc

Filed private bug report SUPQZ-10 with FX support provider against upstream https://bugs.openjdk.java.net/browse/JDK-8092014.

tresf avatar Feb 01 '21 18:02 tresf