[AccessD] Printer control

MastercafeCTV mastercafe at ctv.es
Tue Feb 3 01:11:41 CST 2004


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



More information about the AccessD mailing list