>Fred,
>
>I just came across your question, but I haven't got an answer. What I want to know is how to download a soft font to an HP Printer under Windows NT or ME. I've been using a .bin routine that I picked up years ago, and it doesn't work. I've also tried copying the font directly to the printer with no luck.
>
>I would appreciate any help.
>
>Thanks.
>
>Chaim
In the files section is a file called rawprint. This .FLL provides a function to copy a file directly to a printer name, IP address or UNC path. I have used it succesfully under Win9x, NT 4.0 and Win2000. I don't do ME.
IF RawPrint([HPLJ4050],[BLogo.dow]) = .F.
MessageBox([ RawPrint Sending of Font File Failed ], 64, [ oPrint::SendFont])
EndIF
With some success I have used the CopyFile API in Kernel32.
DECLARE INTERGER CopyFile IN Kernel32.dll ;
STRING @SourceFileName ;
STRING @DestFileName ;
INTERGER bFailIfExists
IF CopyFile([BLogo.dow],[LPT2:]) = 0
MessageBox([ API Sending of Font File Failed ], 64, [ oPrint::SendFont])
EndIF
Hope this helps
Fred Lauckner
You know, it works on my computer. I don't know what your problem is.
.Net aint so bad.