Discussion:
Printing from IE
(too old to reply)
Abhay Sobti
2005-04-19 09:37:52 UTC
Permalink
Hi everyone,

I have a link on my webpage that returns a DOS PRN file. The file contains
control codes like CHR(15),etc.
I would like the file to be printed in DOT Matrix printer in DOS mode when a
user clicks on the link.

Is that possible. And how?

Thanx

Abhay
Rick Strahl [MVP]
2005-05-01 22:51:09 UTC
Permalink
Hi Abhay,

Not automatically. the IE model restricts direct access to the printer. You
can bring up the Print Dialog, but this is not going to be possible off a
PRN file downloaded.

What you could possibly do if you have control over the client machines, is
map .PRN on the system to a batch file or something that automatically
prints. So when the file is 'opened' over the Internet it automatically
executes that code. You can do this by right clicking on a PRN file and
setting the association.

+++ Rick ---
--
Rick Strahl
West Wind Technologies
www.west-wind.com
www.west-wind.com/weblog
Post by Abhay Sobti
Hi everyone,
I have a link on my webpage that returns a DOS PRN file. The file contains
control codes like CHR(15),etc.
I would like the file to be printed in DOT Matrix printer in DOS mode when a
user clicks on the link.
Is that possible. And how?
Thanx
Abhay
Loading...