Checkout https://github.com/SonarSonic/DrawingBotV3
Inside DrawingBotV3, go to FILE > Preferences
Inside the Preferences video, go to Export Settings > GCode
Configure the Start, End, Pen Down and Pen Up command as shown - depending on whether you want to use the Z-axis or the Servo to lift the Pen