sekedar contoh dari help file,

Sub SetPrinter(strFormname As String)

    DoCmd.OpenForm FormName:=strFormname, view:=acDesign, _
                   datamode:=acFormEdit, windowmode:=acHidden
    
    With Forms(form1).Printer
    
        .TopMargin = 1440
        .BottomMargin = 1440
        .LeftMargin = 1440
        .RightMargin = 1440
    
        .ColumnSpacing = 360
        .RowSpacing = 360
    
        .ColorMode = acPRCMColor
        .DataOnly = False
        .DefaultSize = False
        .ItemSizeHeight = 2880
        .ItemSizeWidth = 2880
        .ItemLayout = acPRVerticalColumnLayout
        .ItemsAcross = 6
    
        .Copies = 1
        .Orientation = acPRORLandscape
        .Duplex = acPRDPVertical
        .PaperBin = acPRBNAuto
        .PaperSize = acPRPSLetter
        .PrintQuality = acPRPQMedium
    
    End With
    
    DoCmd.Close objecttype:=acForm, objectname:=strFormname, _
                Save:=acSaveYes


End Sub


tapi kalau aku tak pakai diatas ini,
aku pakai prtdevmode seperti pada files milist ini.
lebih yakin akan kerjanya, setelah dapat devmode dari printer tujuan.

cheers,
budilaks

--- In [email protected], "budi 
laksamana" <[EMAIL PROTECTED]> wrote:
>
> atau diubah, menjadi.....
> saat buka report maka module akan melakukan setting kertas, setting 
> printer, setting margin dll dll.
> maupun saat buka form.
> 
> karena kalau saat tutup, si windows akan berubah oleh report atau 
> application yang lain nya.
> 
> pada on open property report, setpaper atau set lainnya ada kok 
untuk 
> access2003.
> 
> kita sama sama cari yuk,
> 
> cheers,
> budilaks
> 
> --- In [email protected], BINSAR SIMANJUNTAK 
> <binsar_1979@> wrote:
> >
> > Dear Access Mania,
> > 
> > Saya minta bantuanya nih bagaimana caranya membuat ukuran kertas 
pd 
> report dan tidak berubah lagi apabila kita tutup. misalnya ukuran 
> kertasnya 3 x 5 Cm
> > Sebelumya terima kasih atas bantuanya
> > 
> > Rgrds,
> > 
> > Binsar S
> > 
> > 
> >       
> 
____________________________________________________________________________________
> > Never miss a thing.  Make Yahoo your home page. 
> > http://www.yahoo.com/r/hs
> >
>


Kirim email ke