----- Original Message -----
From: "Howard Tanner" <[EMAIL PROTECTED]>
To: "Petr Vileta" <[EMAIL PROTECTED]>
Cc: "ActivePerl" <[email protected]>; "Nick Hall"
<[EMAIL PROTECTED]>
Sent: Friday, June 02, 2006 3:40 AM
Subject: Re: how to write driver
Windows does not have filters like *nix, and writing a Windows print
driver or port monitor is way beyond the scope of this list (or your
application, probably).
Can't you pipe the output from your failing install? Or send it to a
file? If the app is indeed writing directly to lpt1 (highly unlikely
unless this app is REALLY old, like $Bill :P) you'd have to capture or
redirect that output.
Any redirecting can't help me. Situation is this: WindowsXP-Pro, new
installation and all patches and SP. Some old app (Foxpro for DOS) print to
LPT1 where is instaled some Laser printer driver. I install some windows
native app and from this time all prints from windows apps print ok, but all
prints from DOS Foxpro forgot first character. But sequence of few first
characters are setum string to printer. If I redirect LPT1 to file in
printer setup the file contain all data what DOS post to LPT1. And if I copy
this file to LPT1 using
copy /b myfile.txt LPT1 priner output is ok too. I must hasck some place
between FOS output and printer driver input and alayze this.
For future I plan to write virtual printer for convert DOS print to PDF, or
HTML. I know that this is possibe but I dont't know hot to do it. I'm
thinking about pertial perl and partial perl-inline (asm) skricpt. But hot
to do the hack?
Petr Vileta, Czech republic
(My server reject all messages from Yahoo and Hotmail. Send me your mail
from another non-spammer site please.)
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs