Print HTML page using "FontA11" of EPSON - css

I want to print my HTML page from browser using the fonts "FontA11". How can I use this fonts for my page?
I want to print this using browser. I am going to make web app for my client and they are using EPSON printer to print.
I have set my Epson (TM-U220D, Model: M188D) printer as default and I am able to see the fonts "FontA11" in Microsoft word. It also prints using this fonts when printed from Microsoft word.
Now, I want to print my HTML page from browser using this fonts but its not working. I have also tried NOT setting "font-family" to my css and check which fonts it takes but even that is not working.
I know "FontA11" is printer fonts and we can't refer those in HTML page but I want a way through which my page outputs with "FontA11" fonts.
Can anybody help?

I am using EPSON TM T82, Windows 7, Internet Explorer, and these steps would work for me.
Devices and Printer>Printing Preferences>Printer Settings>True Type Font Substitution>Substitute>Advanced Settings>Tick Substitute All>Set Device Font Name>OK>Apply.
Google Chrome will not work for me.

Save the page to disk, open it in Word, ctrl-A to select everything, change font to FONT11A, print?

Related

IIS renders embedded font icons incorrectly

I have a static web page that displays icons embedded in one of the css references. The icons are not displayed properly and we see some junk characters instead when browsed to from IIS. The same web page when opened directly in the browser seems to render fine. I wonder if it is some misconfiguration in the static page website but I am unable to figure out what the issue could be. Would greatly appreciate any help to solve this issue.
The page when rendered by IIS:
The page when rendered by browser directly:
Looks like the CSS file is the issue.
The css file when browsed to via IIS:
The original css file opened with the browser:
If you use extended styles and sass syntax, when SASS does the compression, it changes Font Awesome characters from escaped ASCII sequences to unicode. So you need to add <meta charset="utf-8" /> in the head to let the browser know how to interpret it.

How to fix khmer font on ios device with wordpress site

My wordpress website having troble with khmer font showing wrong on ios device.
i'm tried to change font Khmer but it not work. but i use defualt divi theme font i work find.
You need embed Khmer font into your website, you can use Google web font: https://fonts.google.com/?subset=khmer
<link href="https://fonts.googleapis.com/css?family=Battambang&display=swap" rel="stylesheet">
Or include the font and use CSS3 to embed it
I'm a bit late to the party but hope this will help those who finally arrived here.
As #Osify suggested, the best way to have Khmer font displayed correctly on your WordPress website is to use web-fonts, like Google Fonts.
Some Khmer fonts from Google render correctly in the majority of devices and browsers. However, some not.
Some fonts namely, Moul or Nokora will render incorrectly when you browse your WordPress website on Safari of an iPhone 6 or later.
I would recommend you to switch to other fonts like 'Hanuman', 'Battambong', and 'Content' which will fix your problem.
Plus
For speed improvement, I'd suggest hosting those fonts locally as your website asset. A tool like google-webfonts-helper is the best assistant when working with Khmer Fonts.
The tool provides all the needed font files in all formats along with options to choose from and then generates the CSS font-face ready to use.

IE 'allow blocked content' breaks up fonts

I've got some #font-face page generated on www.fontsquirrel.com
It works good, even on IE, but IE shows on it request to allow blocked content (font is alredy loaded when request appears, and it looks ok). When one will click 'allow' font just change to default or next on the list.
I havent changed it after generating on squirrel, so code must be ok. Any ideas what to do about it?
ps. its working the same with google fonts api.

How to fix font face for internet explorer

I have a social network that allows users to choose fonts for their profiles. It works great on Chrome, Safari and Firefox but IE7-9 does not play well.
What should I change in my font php file to echo some nice css? Here is the code:
$fontovi_style='';
foreach(explode(",", str_replace("\n",'',file_get_contents(ROOT.'media/font-list.txt'))) as $k=>$v){
$ime=str_ireplace('.ttf','',$v);
$fontovi_style.='#font-face {font-family:"'.$ime.'";src: url("/media/fonts/'.$v.'")
format("truetype");}'."\n";
}
echo $fontovi_style;
Internet Explorer does not support TTF, it only supports EOT.
Check this link for further explanation.
This is to some extent a duplicate of this question
I'd just like to make an observations though: Generating this list on the fly for every single page slows down page load plus it puts some extra load on your server (ie it's not cacheable, it makes your pages larger, I/O reading the font list every time, etc)
go to this link http://www.fontsquirrel.com/fontface/generator
upload your font
then download all files have different font formats which is supported for different browsers and use in your project. now it will work accurately in all browsers

abcpdf gecko not rendering images

I'm attempting to make a PDF from a HTML document, and this document has images absolutely linked (ie. C:/somewhere/html.htm), but when I use abcpdf 8.1 AddImageUrl("file:\\"&absLocation,True,0,False) the resulting pdf doesn't have any images.
Does anyone have any idea how to get the images to show up?
Side info: when using vbscript and default mshtml as the engine, it all gets saved to pdf perfectly, but in asp it didn't save at all using mshtml. Thus the switch to Gecko.
I'm using this on a Windows Server 2008 R2 Standard 64-bit machine with IE9.
I figured it out! I had to prepend file:// to my image references within the html as well.
So IMG elements should look like this:
<img src="file://c:\directorys\image.png" alt="There should be an image here />

Resources