Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

PrintVisual : custom FontFamilly doesn't work on some printers in a windows service with STA thread

$
0
0

Hi

I'm writing a windows service that act as a print spooler. Documents are printed in STA threads. My document is built as a Canvas that I print using the PrintDialog.PrintVisual function. It works fine, except on the two Epson printers we have(B501DN and T5000) where the custom fonts, embedded in the application, are replaced by standard fonts. I also have a WPF application, using the same printing library and threads than the windows service, and the printing is fine, even on Epson printers.

Any idea of what is going wrong ?

Thanks for your help



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>