Configure Journaling Margins and Paper Orientation
Configure Journaling Margins and Paper Orientation
In the <PaperDetails> section of the template file, enter the values for top, bottom, left, and right margins within the <TopMargin>, <BottomMargin>, <LeftMargin>, and <RightMargin> tags. In the following code snippet, the top and bottom margins are set to 0.5 inches and left and right margins to 0.25 inches.
Enter 0 for portrait or 1 for landscape within the <PaperOrientation> tag. For example, <PaperOrientation>0</PaperOrientation>. NOTE: Even if you set the margins values to 0, <TopMargin>, <BottomMargin>, <LeftMargin>, and <RightMargin>, the printer’s default margin will always be considered while printing.