print a word docx
-
hi i want to print the word docx from the document library of the sharepoint on the click of button? i am not able to get the open word document in the com object..in sharepoint please tell me the some other way round regard vimal
-
hi i want to print the word docx from the document library of the sharepoint on the click of button? i am not able to get the open word document in the com object..in sharepoint please tell me the some other way round regard vimal
Dear Vimal i think the best way to do that is to record a microsoft Macro , and to insert it to a button the Recorded macro will be the following : Sub Macro1() ' ' Macro1 Macro ' ' ActiveDocument.PrintPreview ActiveDocument.ClosePrintPreview ActivePrinter = "Insert your printer name and link" Application.PrintOut FileName:="****", Range:=wdPrintAllDocument, Item:= _ wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _ ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:= _ False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _ PrintZoomPaperHeight:=0 End Sub