The general command form to map the tablet's input area to the given output is:
Where $DEVICE is the name of the tablet's device as given by the xsetwacom --list command, and $OUTPUT is the name of the output as given by the xrandr command.
Once this command is issued, the desktop cursor will remain within the boundaries of the selected output when the tablet's pen is moved.
First, find out the name of the device:
Wacom Bamboo1 stylus id: 20 type: STYLUS
Wacom Bamboo1 eraser id: 21 type: ERASER
Wacom Bamboo1 cursor id: 22 type: CURSOR
In this example the graphics tablet has 3 devices, so we'll map them all to a specific output:
$ xsetwacom --set "Wacom Bamboo1 eraser" MapToOutput "VGA1"
$ xsetwacom --set "Wacom Bamboo1 cursor" MapToOutput "VGA1"
Ubuntu Manpage: xsetwacom