Once your design is ready and your GCODE settings are configured, generating a file takes just two clicks. This page walks you through the full process — from verifying your design on the canvas to watching your printer draw it on paper.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.
Verify your design on the canvas
Review every object on the canvas before generating GCODE. The canvas represents a 100mm × 100mm print area. Objects that extend beyond the canvas boundary will be clipped.Check that:
- All text and icons are within the canvas bounds
- Objects are positioned and scaled the way you intend
- Nothing overlaps in a way that will produce confusing pen strokes
Set GCODE UP, GCODE DOWN, and SPEED
Above the canvas, set the three GCODE configuration fields for your printer:
- GCODE UP — the command to lift the pen (default:
G0 Z10) - GCODE DOWN — the command to press the pen onto the paper (default:
G0 Z5) - SPEED — movement speed in mm/s (default:
22)
Preview pen stroke rendering
Click Preview image to render how your design will actually look when drawn with pen strokes.The preview strips away fills and rendering details that the printer cannot reproduce and shows only the paths the pen will follow. Compare the preview carefully against your intended design — this is your last chance to catch issues before generating the file.
Download the GCODE file
Click Download GCODE to generate and save the file.PenPrint sends your canvas SVG through the penprint WASM module (Every file begins with this preamble:
flatten with a 100mm × 100mm area and 0.1mm resolution), substitutes your GCODE UP, GCODE DOWN, and SPEED values into the output, prepends the standard preamble, and downloads the result.The downloaded file is always named
out.gcode. Rename it before saving alongside other GCODE files to avoid overwriting a previous design.G21 sets millimeter mode, G90 sets absolute positioning, the UP command raises the pen, and G28 X Y homes the X and Y axes. The printer will move to the home position at the start of every print.Transfer the file to your printer
Copy
out.gcode to your printer using whichever method it supports:- SD card or USB drive — copy the file to the card or drive and insert it into the printer
- OctoPrint — upload through the OctoPrint web interface
- Pronterface or similar host software — open the file and send it directly over USB serial
- Printer touchscreen — some printers support USB-hosted file selection from the screen
Run the GCODE
Place a sheet of paper on your print bed and load
out.gcode on the printer.Start the print. The printer will:- Execute the preamble (set units, set absolute mode, raise pen, home X and Y)
- Move to the first stroke start position
- Lower the pen and begin drawing
- Lift the pen between strokes to travel without marking
- Finish at the last stroke endpoint
Troubleshooting
| Symptom | Likely cause |
|---|---|
| Pen drags during travel moves | GCODE UP Z value too low — raise it |
| Lines are faint or skip | GCODE DOWN Z value too high — lower it, or check pen ink |
| Design prints in the wrong location | Objects were outside the 100mm × 100mm canvas bounds |
| Lines are smeared or doubled | Pen mount is loose — resecure it before reprinting |
| Print stops mid-job | File transfer was incomplete — re-download and re-transfer |