4.2.2 Relative-Horizontal Cursor Movement

The CM_OCD_XM_REL box contains the printer command or commands which move the cursor horizontally with respect to the current position. By default, the Universal Printer Driver assumes that the CM_OCD_XM_REL command moves the cursor to the right of the current position. If the relative-horizontal cursor movement command used by your printer allows movement to either the left or right of the current position, set the CM_XM_REL_LEFT bit in the CURSORMOVE fXMove dialog box. For most printers, the corresponding Units dialog box will contain the values that the Universal Printer Driver will use to calculate the argument for the relative-horizontal cursor-movement command arguments from horizontal master units.

Diconix 150 Plus

The Diconix 150 Plus printer does not support a relative horizontal cursor-movement command that moves the cursor in the positive x-direction with respect to the current cursor location; therefore, the CM_OCD_XM_REL box is empty.

HP LaserJet IIP

For the HP LaserJet IIP printer, the Horizontal Cursor Positioning command (ESC*p+nX) moves the cursor to a new position with respect to the current horizontal-cursor location. The plus sign (+) indicates that the movement is in the positive x-direction relative to the current cursor location. The variable n specifies a distance in 1/300 inch units.

To specify the relative Horizontal Cursor Positioning command, type the following in the CM_OCD_XM_ABS box:

\x1B*p+%dX