I'm using this code to print via VB 6.0
' Select my printer pageSize
Printer.PaperSize = 3
Printer.Orientation = 1
' Print
nForm = frmMDI.ActiveForm.Tag
nMaxPage = pdDoc.GetNumPages()
r = AcroExchAVDoc(nForm).PrintPages(0, nMaxPage, 1, 0, 0)
* This Works correctly on Developpement Computer but if I install it on a End-Customer computer. It's print but with the incorrect pagesize.
Any Body have an Idea ?
' Select my printer pageSize
Printer.PaperSize = 3
Printer.Orientation = 1
nForm = frmMDI.ActiveForm.Tag
nMaxPage = pdDoc.GetNumPages()
r = AcroExchAVDoc(nForm).PrintPages(0, nMaxPage, 1, 0, 0)
* This Works correctly on Developpement Computer but if I install it on a End-Customer computer. It's print but with the incorrect pagesize.
Any Body have an Idea ?