[AccessD] Printer control

MastercafeCTV mastercafe at ctv.es
Tue Feb 3 01:23:19 CST 2004


Finally our problem was twips conversion.... 567 twips= 1 centimeter or 1440
twips= 1 inch or 20 twips=1 point.

The next problem is COPIES that don't apply the number, only 1 each time.

Juan

===========================================
MASTERCAFE SL - NIF B-82.617.614
www.mastercafe.com
Deleg. Asturias 
Tel 985.88.49.44 / 627.531.764
Fax 627.500.205
info at mastercafe.com
juan at mastercafe.com
Deleg. Madrid
Tel 627.474.285
cecilia at mastercafe.com
===========================================


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MastercafeCTV
Sent: martes, 03 de febrero de 2004 8:12
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] Printer control


Anyone knows how put params to a report. We are using this code, but there
are no difference in the final print.

Set Application.Printer = Application.Printers(TmpImpresora)
            With Application.Printer
                .BottomMargin = sngBot
                .Copies = Me.InfCopias
                .TopMargin = sngTop
                .LeftMargin = sngLft
                .RightMargin = sngRgt
                If Me.InfOrienta = 1 Then
                    .Orientation = acPRORLandscape
                    Else
                    .Orientation = acPRORPortrait
                End If
            End With

We are looking if the sngTop, sngBot, etc... Are in TWIPS unit or
milimeters... But don't know the problem.

Juan Menendez


===========================================
MASTERCAFE SL - NIF B-82.617.614
www.mastercafe.com
Deleg. Asturias 
Tel 985.88.49.44 / 627.531.764
Fax 627.500.205
info at mastercafe.com
juan at mastercafe.com
Deleg. Madrid
Tel 627.474.285
cecilia at mastercafe.com ===========================================


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

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



More information about the AccessD mailing list