Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PDF Print via VB

Status
Not open for further replies.

SDELISLE

IS-IT--Management
Jan 30, 2002
26
0
0
CA
I'm using this code to Select the correct Pagesize and 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. The correct pagesize printout but if I install it on a End-Customer computer. It's print but with the incorrect pagesize.

I'm already check the Drivers version, Windows Version, Sp. Using the same print Server.

Any Body have an Idea ?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top