Joe
09-12-2001, 10:22 AM
What am I doing wrong? I get an error message on 'Pinter.Orientation'. The
message States Object required: 'Printer'. I thought the Printer object was
built into VB 6.0.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head><META http-equiv="Content-Script-Type" content="text/tcl"><SCRIPT
type="text/vbscript">
sub Wnd_onLoad()
Printer.Orientation = vbPRORLandscape
End Sub
</SCRIPT>
<title>
</title>
</head>
<body bgcolor="white" onLoad="VBScript:Wnd_onLoad()">
message States Object required: 'Printer'. I thought the Printer object was
built into VB 6.0.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head><META http-equiv="Content-Script-Type" content="text/tcl"><SCRIPT
type="text/vbscript">
sub Wnd_onLoad()
Printer.Orientation = vbPRORLandscape
End Sub
</SCRIPT>
<title>
</title>
</head>
<body bgcolor="white" onLoad="VBScript:Wnd_onLoad()">