Eric Barro
ebarro at afsweb.com
Thu Jul 31 12:01:15 CDT 2003
Try this... Printer.Orientation = vbPRORLandscape --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Wortz, Charles Sent: Thursday, July 31, 2003 7:01 AM To: Access Developers discussion and problem solving; dba-vb at databaseadvisors.com Subject: RE: [AccessD] Printing a form view in Visual Basic 6 Paul, Instead of trying to print the form why not have a report the displays the same data as the form and print the report? Of course if you were using Access and VBA this would not be as hard as it is in pure VB6. Charles Wortz Software Development Division Texas Education Agency 1701 N. Congress Ave Austin, TX 78701-1494 512-463-9493 CWortz at tea.state.tx.us -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday 2003 Jul 31 08:52 To: dba-vb at databaseadvisors.com Cc: accessd at databaseadvisors.com Subject: [AccessD] Printing a form view in Visual Basic 6 To all, I have a Visual Basic 6 application from which (every so often) a user will need to print the form thats currently being shown on screen (i.e. frmEmployees). If I use the PrintForm method I don;t seem to have any control on printing as landscape etc. Does anyone know the best and most efficient way to achieve this... Thanks in advance for any help on this.... Paul Hartland _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003