Click here to Skip to main content
15,915,864 members
Home / Discussions / Web Development
   

Web Development

 
GeneralSOAP Question Pin
ProffK1-Dec-03 2:20
ProffK1-Dec-03 2:20 
GeneralRe: SOAP Question Pin
Paul Watson1-Dec-03 23:06
sitebuilderPaul Watson1-Dec-03 23:06 
GeneralRe: SOAP Question Pin
ProffK1-Dec-03 23:18
ProffK1-Dec-03 23:18 
Generaldhtml/javascript/iframe/link inline html Pin
Maximilien30-Nov-03 12:52
Maximilien30-Nov-03 12:52 
GeneralRe: dhtml/javascript/iframe/link inline html Pin
theJazzyBrain1-Dec-03 22:00
theJazzyBrain1-Dec-03 22:00 
QuestionHow do I configure SSL? Pin
CillyMe30-Nov-03 6:24
CillyMe30-Nov-03 6:24 
GeneralChanging orientation of Page of printer to Landscape using ASP.... Pin
Pranoti28-Nov-03 7:26
Pranoti28-Nov-03 7:26 
GeneralRe: Changing orientation of Page of printer to Landscape using ASP.... Pin
Heath Stewart28-Nov-03 8:20
protectorHeath Stewart28-Nov-03 8:20 
You can't currently. For one, any browser that lets a page print without prompting the user is a bad browser. There is also no way (without using ActiveX, Java, etc.) to change the initial values in the Print dialog when using the print method.

Even with CSS there is no way.

Your best bet is to have a blurb at the top of the page to tell the user what to do. You can use CSS to hide this blurb when printing, too. Lets say your stylesheet to which your linking is defined like so:
body { font-family: arial; }
.blurb { border: 1px solid black; background-color: gray; color: red; }
/* more stuff */
@media print
{
  .blurb { display: none; }
}
In your printable page, have something like this at the top, right after body:
<div class="blurb">To optimize your print-out,
click the File->Print menu in your browser, click on Properties,
then select Landscape. Click OK twice.</div>


 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
Generalland record in GIS Pin
sanjay19527-Nov-03 19:10
sanjay19527-Nov-03 19:10 
GeneralRe: land record in GIS Pin
Bob Stanneveld27-Nov-03 22:07
Bob Stanneveld27-Nov-03 22:07 
GeneralASP - DATE question Pin
AGeNt7eVeN26-Nov-03 5:50
AGeNt7eVeN26-Nov-03 5:50 
GeneralRe: ASP - DATE question Pin
Populate1233-Dec-03 21:50
Populate1233-Dec-03 21:50 
GeneralPermissions problem, user doesn't have access to upload folder. Pin
chubbysilk26-Nov-03 3:59
chubbysilk26-Nov-03 3:59 
GeneralRe: Permissions problem, user doesn't have access to upload folder. Pin
Bob Stanneveld26-Nov-03 20:53
Bob Stanneveld26-Nov-03 20:53 
GeneralText files Pin
jahovus25-Nov-03 8:28
jahovus25-Nov-03 8:28 
GeneralRe: Text files Pin
Nathan Ridley25-Nov-03 13:47
Nathan Ridley25-Nov-03 13:47 
GeneralRe: Text files Pin
ZoogieZork26-Nov-03 5:42
ZoogieZork26-Nov-03 5:42 
GeneralJavaScript User/password prompt Pin
Bob Stanneveld25-Nov-03 0:08
Bob Stanneveld25-Nov-03 0:08 
GeneralRe: JavaScript User/password prompt Pin
ZoogieZork26-Nov-03 5:47
ZoogieZork26-Nov-03 5:47 
GeneralRe: JavaScript User/password prompt Pin
Bob Stanneveld26-Nov-03 20:59
Bob Stanneveld26-Nov-03 20:59 
QuestionJScrip.NET - What does it require ? Pin
trongtuan24-Nov-03 22:07
trongtuan24-Nov-03 22:07 
AnswerRe: JScrip.NET - What does it require ? Pin
Heath Stewart28-Nov-03 8:26
protectorHeath Stewart28-Nov-03 8:26 
GeneralASP Application Start global.asa Pin
CillyMe24-Nov-03 21:45
CillyMe24-Nov-03 21:45 
GeneralRe: ASP Application Start global.asa Pin
Roger Wright25-Nov-03 11:30
professionalRoger Wright25-Nov-03 11:30 
GeneralJavascript fireEvent Method Pin
webProgrammer24-Nov-03 19:43
webProgrammer24-Nov-03 19:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.