Is it possible to print a web page dynamically using Vb Script? I have
several "reports" that are generated by my web site that I would like to
print all at once. I could do the looping myself, but how can an indiviudal
page be printed? Thanks for the help.

Re: Printing From ASP by jeff

jeff
Sat Aug 14 11:23:23 CDT 2004

On Sat, 14 Aug 2004 08:07:01 -0700, "Jonathan"
<Jonathan@discussions.microsoft.com> wrote:

>Is it possible to print a web page dynamically using Vb Script? I have
>several "reports" that are generated by my web site that I would like to
>print all at once. I could do the looping myself, but how can an indiviudal
>page be printed? Thanks for the help.

Printed *where*? VBScript in ASP running on the server won't print to
the client's printer...

Jeff

Re: Printing From ASP by Jonathan

Jonathan
Sat Aug 14 17:47:02 CDT 2004

Is it possible to print to the client's printer? Do I need to use another
language?

"Jeff Cochran" wrote:

> On Sat, 14 Aug 2004 08:07:01 -0700, "Jonathan"
> <Jonathan@discussions.microsoft.com> wrote:
>
> >Is it possible to print a web page dynamically using Vb Script? I have
> >several "reports" that are generated by my web site that I would like to
> >print all at once. I could do the looping myself, but how can an indiviudal
> >page be printed? Thanks for the help.
>
> Printed *where*? VBScript in ASP running on the server won't print to
> the client's printer...
>
> Jeff
>

Re: Printing From ASP by joker

joker
Sat Aug 14 19:09:06 CDT 2004

If you want to print to a clients computer you will need to use client
side scripting. This brings up a serious issue in the fact that IE is
one of the few if not the only browser that can even read VB script. I
personally recommend using JavaScript for client side scripting as it
will fork in any JavaScript enabled browser of which there are more then
VB script browsers.

Jonathan wrote:

> Is it possible to print to the client's printer? Do I need to use another
> language?
>
> "Jeff Cochran" wrote:
>
>
>>On Sat, 14 Aug 2004 08:07:01 -0700, "Jonathan"
>><Jonathan@discussions.microsoft.com> wrote:
>>
>>
>>>Is it possible to print a web page dynamically using Vb Script? I have
>>>several "reports" that are generated by my web site that I would like to
>>>print all at once. I could do the looping myself, but how can an indiviudal
>>>page be printed? Thanks for the help.
>>
>>Printed *where*? VBScript in ASP running on the server won't print to
>>the client's printer...
>>
>>Jeff
>>


Re: Printing From ASP by Jonathan

Jonathan
Sun Aug 15 01:41:01 CDT 2004

I found this link of how to print a page with Java.
http://javascript.about.com/library/scripts/bleasyprint.htm My question is
can I use Vbscript, HTML, and java all in the same file? If so, how do I
specify what is ASP and what is java? Can my ASP code call a java function?
My end users will be using internet explorer and my web server runs IIS. But
the reason I'm looking at using java to print is because I can't find an
example with Vbscript.

"joker" wrote:

> If you want to print to a clients computer you will need to use client
> side scripting. This brings up a serious issue in the fact that IE is
> one of the few if not the only browser that can even read VB script. I
> personally recommend using JavaScript for client side scripting as it
> will fork in any JavaScript enabled browser of which there are more then
> VB script browsers.
>
> Jonathan wrote:
>
> > Is it possible to print to the client's printer? Do I need to use another
> > language?
> >
> > "Jeff Cochran" wrote:
> >
> >
> >>On Sat, 14 Aug 2004 08:07:01 -0700, "Jonathan"
> >><Jonathan@discussions.microsoft.com> wrote:
> >>
> >>
> >>>Is it possible to print a web page dynamically using Vb Script? I have
> >>>several "reports" that are generated by my web site that I would like to
> >>>print all at once. I could do the looping myself, but how can an indiviudal
> >>>page be printed? Thanks for the help.
> >>
> >>Printed *where*? VBScript in ASP running on the server won't print to
> >>the client's printer...
> >>
> >>Jeff
> >>
>
>

Re: Printing From ASP by Johan

Johan
Sun Aug 15 07:02:47 CDT 2004

There is a quite good freeware activex-component that will do that

http://www.meadroid.com/scriptx/index.asp

regards
Johan Arwidmark

Windows User Group - Nordic
http://www.wug-nordic.net


On Sat, 14 Aug 2004 15:47:02 -0700, "Jonathan"
<Jonathan@discussions.microsoft.com> wrote:

>Is it possible to print to the client's printer? Do I need to use another
>language?
>
>"Jeff Cochran" wrote:
>
>> On Sat, 14 Aug 2004 08:07:01 -0700, "Jonathan"
>> <Jonathan@discussions.microsoft.com> wrote:
>>
>> >Is it possible to print a web page dynamically using Vb Script? I have
>> >several "reports" that are generated by my web site that I would like to
>> >print all at once. I could do the looping myself, but how can an indiviudal
>> >page be printed? Thanks for the help.
>>
>> Printed *where*? VBScript in ASP running on the server won't print to
>> the client's printer...
>>
>> Jeff
>>


Re: Printing From ASP by jeff

jeff
Sun Aug 15 09:56:00 CDT 2004

On Sat, 14 Aug 2004 15:47:02 -0700, "Jonathan"
<Jonathan@discussions.microsoft.com> wrote:

>Is it possible to print to the client's printer? Do I need to use another
>language?

You can't using ASP. You can using Javascript, VBscript, an ActiveX
control or many other options - All are client-side. Try a
Javascript group or other client-side group. It's not an ASP issue.

Jeff


>"Jeff Cochran" wrote:
>
>> On Sat, 14 Aug 2004 08:07:01 -0700, "Jonathan"
>> <Jonathan@discussions.microsoft.com> wrote:
>>
>> >Is it possible to print a web page dynamically using Vb Script? I have
>> >several "reports" that are generated by my web site that I would like to
>> >print all at once. I could do the looping myself, but how can an indiviudal
>> >page be printed? Thanks for the help.
>>
>> Printed *where*? VBScript in ASP running on the server won't print to
>> the client's printer...
>>
>> Jeff
>>


Re: Printing From ASP by Evertjan

Evertjan
Sun Aug 15 10:07:08 CDT 2004

Jeff Cochran wrote on 15 aug 2004 in
microsoft.public.scripting.vbscript:
> On Sat, 14 Aug 2004 15:47:02 -0700, "Jonathan"
> <Jonathan@discussions.microsoft.com> wrote:
>
>>Is it possible to print to the client's printer? Do I need to use
>>another language?
>
> You can't using ASP. You can using Javascript, VBscript, an ActiveX
> control or many other options - All are client-side. Try a
> Javascript group or other client-side group. It's not an ASP issue.

But Jeff,

This is not an ASP NG !

This NG is for VBscript on many platforms,
INCLUDING clientside .IE, wscript, etc.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: Printing From ASP by jeff

jeff
Mon Aug 16 08:14:50 CDT 2004

On 15 Aug 2004 15:07:08 GMT, "Evertjan."
<exjxw.hannivoort@interxnl.net> wrote:

>Jeff Cochran wrote on 15 aug 2004 in
>microsoft.public.scripting.vbscript:
>> On Sat, 14 Aug 2004 15:47:02 -0700, "Jonathan"
>> <Jonathan@discussions.microsoft.com> wrote:
>>
>>>Is it possible to print to the client's printer? Do I need to use
>>>another language?
>>
>> You can't using ASP. You can using Javascript, VBscript, an ActiveX
>> control or many other options - All are client-side. Try a
>> Javascript group or other client-side group. It's not an ASP issue.
>
>But Jeff,
>
>This is not an ASP NG !

Crap. I answered the same question in the ASP group and got this one
mistaken!

Okay, Javascript/VBScript printing solution:

http://www.quirksmode.org/js/print.html

Jeff

Re: Printing From ASP by Hal

Hal
Mon Aug 16 23:34:17 CDT 2004

The user can use the print command from the browser

"Jonathan" <Jonathan@discussions.microsoft.com> wrote in message
news:A23B5FDF-406B-4AB9-AA2B-111C32B47684@microsoft.com...
> I found this link of how to print a page with Java.
> http://javascript.about.com/library/scripts/bleasyprint.htm My question is
> can I use Vbscript, HTML, and java all in the same file? If so, how do I
> specify what is ASP and what is java? Can my ASP code call a java
function?
> My end users will be using internet explorer and my web server runs IIS.
But
> the reason I'm looking at using java to print is because I can't find an
> example with Vbscript.
>
> "joker" wrote:
>
> > If you want to print to a clients computer you will need to use client
> > side scripting. This brings up a serious issue in the fact that IE is
> > one of the few if not the only browser that can even read VB script. I
> > personally recommend using JavaScript for client side scripting as it
> > will fork in any JavaScript enabled browser of which there are more then
> > VB script browsers.
> >
> > Jonathan wrote:
> >
> > > Is it possible to print to the client's printer? Do I need to use
another
> > > language?
> > >
> > > "Jeff Cochran" wrote:
> > >
> > >
> > >>On Sat, 14 Aug 2004 08:07:01 -0700, "Jonathan"
> > >><Jonathan@discussions.microsoft.com> wrote:
> > >>
> > >>
> > >>>Is it possible to print a web page dynamically using Vb Script? I
have
> > >>>several "reports" that are generated by my web site that I would like
to
> > >>>print all at once. I could do the looping myself, but how can an
indiviudal
> > >>>page be printed? Thanks for the help.
> > >>
> > >>Printed *where*? VBScript in ASP running on the server won't print to
> > >>the client's printer...
> > >>
> > >>Jeff
> > >>
> >
> >


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 7/30/2004