how to print with watermart with Ilogic?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
can anyone tell me how to print with an watermark with Ilogic ?
I have this code
Dim oDrawDoc As Document
oDrawDoc = ThisApplication.ActiveDocument
Dim oSheet As Sheet = oDrawDoc.ActiveSheet
If oSheet.Size.ToString = "kA4DrawingSheetSize" Then
Dim oPrintMgr As PrintManager
oPrintMgr = oDrawDoc.PrintManager
'specify your printer name
oPrintMgr.Printer = "\\SRV\HP Color LaserJet M750 PCL 6 A4"
oPrintMgr.ColorMode = kPrintDefaultColorMode
oPrintMgr.Orientation = kLandscapeOrientation
oPrintMgr.PaperSize = PaperSizeEnum.kPaperSizeA4
oPrintMgr.Scalemode = 13827 'Custom Scale
oPrintMgr.ScaleMode = "1"
oPrintMgr.SubmitPrint
End If
If oSheet.Size.ToString = "kA3DrawingSheetSize" Then
Dim oPrintMgr As PrintManager
oPrintMgr = oDrawDoc.PrintManager
'specify your printer name
oPrintMgr.Printer = "\\SRV\HP Color LaserJet M750 PCL 6 A4"
oPrintMgr.ColorMode = kPrintDefaultColorMode
oPrintMgr.Orientation = kLandscapeOrientation
oPrintMgr.PaperSize = PaperSizeEnum.kPaperSizeA3
oPrintMgr.Scalemode = 13827 'Custom Scale
oPrintMgr.ScaleMode = "1"
oPrintMgr.SubmitPrint
End If
If oSheet.Size.ToString = "kA2DrawingSheetSize" Then
Dim oPrintMgr As PrintManager
oPrintMgr = oDrawDoc.PrintManager
'specify your printer name
oPrintMgr.Printer = "\\SRV\HP Designjet Z3200ps A2"
oPrintMgr.ColorMode = kPrintDefaultColorMode
'oPrintMgr.Orientation = kLandscapeOrientation
oPrintMgr.PaperSize = PaperSizeEnum.kPaperSizeA2
oPrintMgr.Scalemode = 13827 'Custom Scale
oPrintMgr.ScaleMode = "1"
oPrintMgr.SubmitPrint
End If
If oSheet.Size.ToString = "kA1DrawingSheetSize" Then
Dim oPrintMgr As PrintManager
oPrintMgr = oDrawDoc.PrintManager
'specify your printer name
oPrintMgr.Printer = "\\SRV\HP Designjet Z3200ps A1"
oPrintMgr.ColorMode = kPrintDefaultColorMode
'oPrintMgr.Orientation = kLandscapeOrientation
oPrintMgr.PaperSize = PaperSizeEnum.kPaperSizeA1
oPrintMgr.Scalemode = 13827 'Custom Scale
oPrintMgr.ScaleMode = "1"
oPrintMgr.SubmitPrint
End If
but I want to add an watermark Name Draft on the Drawing under Printer setting .. how do i do that ?