# Print Directives > [HTML Version](printdirectives.htm) Below is a list of all the available print directives, with links to extended descriptions for each. | **Directive** | **Description** | **** | **Directive** | **Description** | |------|------|------|------|------| | [Totpages (%#)](totpages_pd.htm.md) | Total pages in document | | [SETBRUSH](setbrush_pd.htm.md) | Sets line thickness and style for filling | | [BIN](bin.htm.md) | Specifies paper bin or tray | | [SETFONT](setfont_pd.htm.md) | Sets font | | [DUPLEX](duplex_pd.htm.md) | Sets DUPLEX options | | [SETMAPMODE](setmapmode_pd.htm.md) | Sets position for subsequent drawing | | [ELLIPSE](ellipse_pd.htm.md) | Draws ellipse | | [SETOPTION](setoption_pd.htm.md) | Enables various printing options. | | [ESCAPE](escape_pd.htm.md) | Passes raw ESC codes | | [SETPEN](setpen.htm.md) | Sets drawing line thickness and style | | [IMAGE](image_pd.htm.md) | Inserts image | | [SETPENEX](setpenex_pd.htm.md) | Extended version of SETPEN | | [INCLUDE](include_pd.htm.md) | Processes external file | | | | | [LINETO](lineto_pd.htm.md) | Draws a line | | [SETTEXTALIGN](settextalign_pd.htm.md) | Sets alignment method | | [META](meta_pd.htm.md) | Embeds meta data | | [SETTEXTCOLOR](settextcolor_pd.htm.md) | Sets text color | | [METAFILE](metafile_pd.htm.md) | Inserts metafile | | [SETTRANSFORM](settransform_pd.htm.md) | Transforms the coordinate space. | | [MOVETO](moveto_pd.htm.md) | Positions cursor | | [SETVMI](setvmi_pd.htm.md) | Sets vertical spacing | | [ORIENTATION](orient-in-gdi-printing.htm.md) | Sets landscape or portrait | | [TEXTCENTER](textcenter_pd.htm.md) | Outputs and centers a line of text | | [PAPERSIZE](papersize_pd.htm.md) | Sets paper size | | [TEXTINDENT](textindent_pd.htm.md) | Variation of TEXTOUT for indents | | [PASSTHROUGH](passthrough_pd.htm.md) | Sets printer mode | | [TEXTOUT](textout_pd.htm.md) | Outputs a line of text | | [PDFX](pdfx_pd.htm.md) | Controls PDF generation | | [TEXTRIGHT](textright_pd.htm.md) | Outputs a line of text right justified | | [POLYGON](polygon_pd.htm.md) | Draws a polygon | | [TEXTRECTANGLE](textrectangle_pd.htm.md) | Output multiline text into rectangle | | [RECTANGLE](rectangle_pd.htm.md) | Draws a rectangle | | [XOFFSET, YOFFSET](xoffsetyoffset.htm.md) | Makes minor positioning adjustments | | [RESETFONT](resetfont_pd.htm.md) | Restores original font. | | [XORIGIN, YORIGIN](xoriginyorigin.htm.md) | Defines offset from paper corner | | [RESETLPP](resetlpp_pd.htm.md) | Resets lines-per-page value | | [XMDATA, XMFIELDS](xmdataxmfields_pd.htm.md) | Controls XTEXT mail merge | | [SETBKCOLOR](setbkcolor_pd.htm.md) | Sets background color | | [XTEXT](xtext_pd.htm.md) | Prints text or RTF file into rectangle |