[Word]Need help for PrintOut(PrintZoomColumn, PrintZoomRow)

Oracle

New member
Joined
Jun 20, 2003
Messages
2
From visualbasicforum.com

In C#, I would to print a word document with PrintOut(), (dont want to use WdWordDialog.wdDialogPrintFile) and i need to give a zoom factor with PrintZoomColumn and PrintZomRow arguments.
oDef is my "Missing" object.

object oCol = 3; //3 page per col page
object oRow = 2; //2 page per row page

Doc.PrintOut(
ref oFalse, // Background
ref oFalse, // Append
ref oPrintRangeOfPages, // Type
ref oDef, // OutputFileName
ref oDef, // From
ref oDef, // To
ref oPrintDocumentContent, // Item
ref oNbCopies, // Copies
ref oRange, // Pages
ref oPrintAllPages, // PageType
ref oFalse, // PrintToFile
ref oDef, // Collate
ref oDef, // ActivePrinterMacGX
ref oDef, // ManualDuplexPrint

ref oCol, // PrintZoomColumn
ref oRow, // PrintZoomRow

ref oDef, // PrintZoomPaperWidth
ref oDef // PrintZoomPaperHeight
);

With a 12 pages document :

If i put 1->oCol and 1->oRow, i obtain a good printing, and 12 pages
If i put 2->oCol and 3->oRow, printer gives me 2 white pages... (of 6 invisibles pages? ...)

Little problem... lol

Any idea?
 
Back
Top