[dba-VB] [AccessD] Printing a form view in Visual Basic 6

Perry Harold pharold at proftesting.com
Thu Jul 31 13:07:17 CDT 2003


You might set it programmatically with the printers collection

PrinterX.Orientation=vbPRORLandscape

Then set it as the default printer

Or use the inputbox to choose a printer and set the properties of the
printer as it is chosen.

Either one before using the PrintForm method.

Perry Harold

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of
paul.hartland at fsmail.net
Sent: Thursday, July 31, 2003 9:52 AM
To: dba-vb at databaseadvisors.com
Cc: accessd at databaseadvisors.com
Subject: [dba-VB] [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

__________________________________________________________________________
Join Freeserve http://www.freeserve.com/time/

Winner of the 2003 Internet Service Providers' Association awards for Best
Unmetered ISP and Best Consumer Application.


_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com




More information about the dba-VB mailing list