Image Viewer CP Pro ActiveX Control ReferenceProperties PrintSetDocumentName Image Viewer CP ActiveX Control PrintSetDocumentName Set the document name programatically when you called PrintImage2Printer. ImageViewer1.PrintSetDocumentName[=String] ParameterStringthe string of document name.RemarkThis property is Read/Write. Example Visual Basic SyntaxImageViewer1.FileName = "c:\1.tif"ImageViewer1.PrintOutline = TrueImageViewer1.PrintSetPaperSize=1ImageViewer1.PrintSetColor=0ImageViewer1.PrintSetCopies=1ImageViewer1.PrintSetPaperSource=1ImageViewer1.PrintSetDocumentName="mytest"ImageViewer1.PrintImage2Pinter(""HP LaserJet 4L")