Discussion Locked

dos-based printing in Java

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi friends,

I am facing the problem of slow printing when using the Window based printing. I think it will be faster if I go for draft printing, but am confused about how to specify the font-style in my css.

In my style sheet, I tried like this -
BODY
{
font-style: 'draft 10 cpi';
}

but there seems no effect.

Actually, my problem is to get DOS-type printing through my JSP application. The clarity (dots-per-inch) can be as low as possible.

You can also suggest any alternative solution.

Regards.
Nise

3 replies

by bojidar alexandrov

To do this you must use another printer driver - Generic/Text Only. You will find it in printer at manifacturer Generic. This is the legal way to transform a page from windows style fonts to dos/printer fonts. In properies for this driver you will find settings how fonts to be mapped. You must spend smoe time to tweak them to produce best results, also make sure that your html is as simple as possible. Hope Luck.

Bojidar Alexandrov
Software Developer

This discussion is closed to new replies.