[Wine] Re: printing issue with notepad and some other apps
dclark at akamail.com
Thu Aug 24 12:42:47 CDT 2006
Stefan Munz wrote:
> while installing some windows apps I stumbled about a problem that even shows
> up in Wine's notepad implementation:
> If I try to print with notepad, it uses a very big font (about 16pt I guess).
> I can change the font in notepad. I tried to copy my windows fonts
> into .wine/drive_c/windows/fonts. But only the font on the display changes,
> the print-out stays exactly the same.
> Another thing what I think is related to the above problem is, that the paper
> size isn't calculated correct. My text is just cut off at the right end of
> the paper. No line-break is made. It looks like Wine thinks that my paper is
> just a bit wider than it really is.
> (A pdf doc with a print-out is a attached)
> The same two problems show up with some other apps that I use (but there is no
> download/demo version available).
> I tried Wine version 0.9.19, 0.9.17 and 0.9, compiled from source under
> kubuntu and the 0.9 binary. ( I already tried a new .wine dir/ run
If you compile from source, you probably need to make sure you have
fontforge installed, else the Wine supplied fonts will not be installed
or used. To see whether they were, you could check the directory
/usr/local/share/wine/fonts (that is the default location).
Are you sure you tried testing with 0.9.19? With that version, you
should be able to change the font in notepad, and the printer font will
change (though it becomes way too small for me). Versions prior to
0.9.18 would indeed not change the printer font.
The real problem is that I really don't know the right way to write
printer code. Mainly I threw together a quick hack in notepad awhile
back, because we were getting a rash of people who complained printing
in Wine didn't work, because they were testing with notepad. What it
really needs is someone who knows what they are doing, and willing to
spend a small amount of time on it. Lines don't wrap during printing
because the printer code makes no attempt to do so. It probably would
not be difficult to add that.
Also, there is a wine developer working on a revamping of the Wine
printer code itself. Hopefully some of that will make it's way into Wine
More information about the wine-users