Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[b][u]Print landscape & portrait information using printer object

Status
Not open for further replies.

bakerm

Programmer
Apr 25, 2000
53
US
Print problems????????<br><br>I need to print information, landscape & portrait, on the same document using the printer object. Any help would be app.
 
From the VB Help file for the keyword &quot;Orientation&quot;<br><br>It is used like this:<br><br><FONT FACE=monospace><b>Printer.Orientation = vbPRORLandscape</font></b><br><br><i><br>Orientation<br><br>Returns or sets a value indicating whether documents are printed in portrait or landscape mode. Not available at design time.<br><br>Syntax<br><br>object.Orientation [= value]<br><br>The Orientation property syntax has these parts:<br><br>Part Description<br>object An object expression that evaluates to an object in the Applies To list.<br>value A value or constant that determines the page orientation, as described in Settings.<br>Settings<br><br>The settings for value are:<br><br>Constant Value Description<br>vbPRORPortrait 1 Documents are printed with the top at the narrow side of the paper.<br>vbPRORLandscape 2 Documents are printed with the top at the wide side of the paper.<br>Remarks<br><br>These constants are listed in the Visual Basic (VB) object library in the Object Browser.<br><br>Note&nbsp;&nbsp;&nbsp;The effect of the properties of the Printer object depends on the driver supplied by the printer manufacturer. Some property settings may have no effect, or several different property settings may all have the same effect. Settings outside the accepted range may or may not produce an error. For more information, see the manufacturer's documentation for the specific driver.<br></i> <p>Mike<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top