PenPrint gives you three fields to configure before generating a GCODE file: the command that raises the pen, the command that lowers it onto the paper, and the movement speed. These fields appear directly above the canvas. Getting them right is essential — an incorrect Z value can result in the pen missing the paper entirely or crashing the nozzle into the bed.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/howtodo1/printer-web/llms.txt
Use this file to discover all available pages before exploring further.
The three fields
GCODE UP
GCODE UP is the GCODE command that lifts the pen off the paper. The printer executes this command whenever it needs to travel between strokes without drawing. Default value:G0 Z10
Set this to the Z height you identified during hardware calibration — the height at which the pen tip fully clears the paper. Any valid GCODE movement command works here.
GCODE DOWN
GCODE DOWN is the GCODE command that lowers the pen onto the paper. The printer executes this at the start of each drawn stroke. Default value:G0 Z5
Set this to the Z height at which the pen tip makes clean, consistent contact with the paper.
SPEED
SPEED is the movement speed in millimeters per second (mm/s). PenPrint converts this value to GCODE feedrate units (mm/min) by multiplying by 60. Default value:22 mm/s → feedrate F1320
Lower speeds produce more consistent pen contact and sharper lines. Higher speeds shorten print time but can cause the pen to skip or smear on fast direction changes.
How the values appear in the output file
PenPrint generates GCODE by substituting your values into a template. The substitutions work as follows:| Placeholder in template | Replaced with |
|---|---|
{UP} | Your GCODE UP command (e.g., G0 Z10) |
{DOWN} | Your GCODE DOWN command (e.g., G0 Z5) |
{SPEED} | F followed by your speed × 60 (e.g., F1320 for 22 mm/s) |
Automatic preamble
Every downloaded GCODE file begins with an automatically generated preamble:G21— set units to millimetersG90— use absolute positioning- Your GCODE UP command (pen raised before homing)
G28 X Y— home the X and Y axes
Example output
With the default settings (GCODE UP =G0 Z10, GCODE DOWN = G0 Z5, SPEED = 22 mm/s), a typical output file looks like this:
G0 Z10) to travel between strokes, lowers it (G0 Z5) to draw, and moves at feedrate F1320 (22 mm/s × 60).
Next steps
Once your settings are configured, you are ready to generate and run your first GCODE file.Generate and run GCODE
Preview pen strokes, download the GCODE file, and run your print.