No, that can't be done... at least not from a CGI script.  You can only
trigger printing on the client end of things and not the server end.  About
the best you could do is use some JavaScript in the page to open up the
print dialog, but it won't automatically print.

<body onload="window.print()">

You could also run PerlScript client side (assuming everyone has PerlScript
installed), or build an ActiveX control.  ...But I don't think that is what
you were looking for.

Rob 


-----Original Message-----
From: Jerry Preston [mailto:[EMAIL PROTECTED]]
Subject: Re: how to print


Hi,

The user's will be using PC's running NT 4.0 when running the scripts.

Thanks Again for Your HELP!!

Jerry

Jerry Preston wrote:

> Hi,
>
> I am using Perl with CGI on a SUN box.  I want to be able to send to the
> local user running my script a report directly to their printer.  What
> is involved?  What does Perl have to support this?
>
> Thanks,
>
> Jerry
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to