[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Frederik Goerlandt

4/6/2004 2:17:00 PM

Hello,

I'm making a website and on a certain page I have a hyperlink called
'printversion'. When you click on it a new page opens with a printversion
(the same way like you there is in hotmail). But I want that when the page
opens, the printing console starts, the one like when you push ctrl + p.

Does someone knows a script for this in asp or vba?

thanks

Frederik


4 Answers

Ronx

4/6/2004 2:31:00 PM

0

I use onload="window.print()" in the <body> tag of the printable page.
Fails gracefully in NN4, opens the printer properties sheet in other
browsers.
--
Ron
Reply only to group - emails will be deleted unread.

"Frederik Goerlandt" <goerrie@hotmail.com> wrote in message
news:ePT6HH%23GEHA.3060@TK2MSFTNGP10.phx.gbl...
> Hello,
>
> I'm making a website and on a certain page I have a hyperlink called
> 'printversion'. When you click on it a new page opens with a printversion
> (the same way like you there is in hotmail). But I want that when the page
> opens, the printing console starts, the one like when you push ctrl + p.
>
> Does someone knows a script for this in asp or vba?
>
> thanks
>
> Frederik
>
>


Frederik Goerlandt

4/7/2004 12:31:00 PM

0

Hello,

I tried the script and it works, the computer loads the printing module. But
when i print something out he only prints images and text. Is there some
function so that both images, text and background colours are printed?

Frederik


"Ronx" <ronx917@hotmail.com> schreef in bericht
news:#xTmMP#GEHA.2052@TK2MSFTNGP11.phx.gbl...
> I use onload="window.print()" in the <body> tag of the printable page.
> Fails gracefully in NN4, opens the printer properties sheet in other
> browsers.
> --
> Ron
> Reply only to group - emails will be deleted unread.
>
> "Frederik Goerlandt" <goerrie@hotmail.com> wrote in message
> news:ePT6HH%23GEHA.3060@TK2MSFTNGP10.phx.gbl...
> > Hello,
> >
> > I'm making a website and on a certain page I have a hyperlink called
> > 'printversion'. When you click on it a new page opens with a
printversion
> > (the same way like you there is in hotmail). But I want that when the
page
> > opens, the printing console starts, the one like when you push ctrl + p.
> >
> > Does someone knows a script for this in asp or vba?
> >
> > thanks
> >
> > Frederik
> >
> >
>
>


Eoin Miller

4/7/2004 2:13:00 PM

0

Hi Frederick,

I'm afraid that is something that you only have control over on your local
computer. It's a setting in Internet Explorer, which is turned off by
default. You can change it by going into IE's Tools||Internet
Options|Advanced.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Frederik Goerlandt" <goerrie@hotmail.com> wrote in message
news:ub5e0wJHEHA.740@tk2msftngp13.phx.gbl...
> Hello,
>
> I tried the script and it works, the computer loads the printing module.
But
> when i print something out he only prints images and text. Is there some
> function so that both images, text and background colours are printed?
>
> Frederik
>
>
> "Ronx" <ronx917@hotmail.com> schreef in bericht
> news:#xTmMP#GEHA.2052@TK2MSFTNGP11.phx.gbl...
> > I use onload="window.print()" in the <body> tag of the printable page.
> > Fails gracefully in NN4, opens the printer properties sheet in other
> > browsers.
> > --
> > Ron
> > Reply only to group - emails will be deleted unread.
> >
> > "Frederik Goerlandt" <goerrie@hotmail.com> wrote in message
> > news:ePT6HH%23GEHA.3060@TK2MSFTNGP10.phx.gbl...
> > > Hello,
> > >
> > > I'm making a website and on a certain page I have a hyperlink called
> > > 'printversion'. When you click on it a new page opens with a
> printversion
> > > (the same way like you there is in hotmail). But I want that when the
> page
> > > opens, the printing console starts, the one like when you push ctrl +
p.
> > >
> > > Does someone knows a script for this in asp or vba?
> > >
> > > thanks
> > >
> > > Frederik
> > >
> > >
> >
> >
>
>


Ronx

4/7/2004 2:21:00 PM

0

That is browser specific. The browser must be set up to print background
images and colours.
In IE6: Tools -> Options -> Advanced and scroll down to the Printing
section.
--
Ron
Reply only to group - emails will be deleted unread.

"Frederik Goerlandt" <goerrie@hotmail.com> wrote in message
news:ub5e0wJHEHA.740@tk2msftngp13.phx.gbl...
> Hello,
>
> I tried the script and it works, the computer loads the printing module.
But
> when i print something out he only prints images and text. Is there some
> function so that both images, text and background colours are printed?
>
> Frederik
>
>
> "Ronx" <ronx917@hotmail.com> schreef in bericht
> news:#xTmMP#GEHA.2052@TK2MSFTNGP11.phx.gbl...
> > I use onload="window.print()" in the <body> tag of the printable page.
> > Fails gracefully in NN4, opens the printer properties sheet in other
> > browsers.
> > --
> > Ron
> > Reply only to group - emails will be deleted unread.
> >
> > "Frederik Goerlandt" <goerrie@hotmail.com> wrote in message
> > news:ePT6HH%23GEHA.3060@TK2MSFTNGP10.phx.gbl...
> > > Hello,
> > >
> > > I'm making a website and on a certain page I have a hyperlink called
> > > 'printversion'. When you click on it a new page opens with a
> printversion
> > > (the same way like you there is in hotmail). But I want that when the
> page
> > > opens, the printing console starts, the one like when you push ctrl +
p.
> > >
> > > Does someone knows a script for this in asp or vba?
> > >
> > > thanks
> > >
> > > Frederik
> > >
> > >
> >
> >
>
>