API Documentation > CorelDRAW > 2025-v26 > PrintOptions > IPrnVBAPrintOptions
PrintOptions.MarksToPage property
Specifies whether printer marks are to be printed within the page area
Syntax:
Property Get MarksToPage() As Boolean
Property Let MarksToPage(ByVal Value As Boolean)
Remarks:
The MarksToPage property specifies a Boolean (True or False) value that indicates whether to fit the printer's marks to the printable page.
Examples:
The following VBA example disables the MarksToPage setting, enables registration marks, creates a rectangle, and prints the document. It then enables the MarksToPage setting and prints the document again.
Sub Test()
Dim s As Shape
With ActiveDocument
  .PrintSettings.Options.MarksToPage = False
  .PrintSettings.Prepress.RegistrationMarks = True
  Set s = .ActiveLayer.CreateRectangle(2, 6, 8, 8)
  .PrintOut
  .PrintSettings.Options.MarksToPage = True
  .PrintSettings.Prepress.RegistrationMarks = True
  .PrintOut
End With 
End Sub