How to test the code before printing the batch
By Tiehl Roberto Matías · 7 min read · Updated 26 October 2026
Nearly every batch that goes wrong could have been saved by a thirty-second test done beforehand. The problem is not that people do not test: it is that they test what already works, in the wrong place. These are the four tests that matter, in the order they have to be done.
In this guide
Why the order matters
Each of these four tests catches a different kind of failure, and none of them catches the others. Scanning the code on a screen tells you nothing about whether the modules are too small for your nozzle. Printing a perfect piece tells you nothing about whether the link goes where you think it does.
And they are in this order for a very specific reason: what each failure costs if you find it late. A mistyped link caught on screen costs nothing. The same link caught after printing twenty keychains costs the spool, the hours, and having to ask people to throw away what you gave them.
The rule, then, is simple: do not move to the next test until the previous one is clean, and do not print the batch until all four have passed.
Test 1: the link, on screen
Generate the code, download the PNG and scan it off the screen. Before thinking about millimetres, filament or pieces.
This catches everything that is a typing mistake, which is the most common family of failures and the most foolish:
- A link with one letter too many or too few.
- A WhatsApp number without the country code, which is the star failure. The WhatsApp guide (in Spanish) has the exact format.
- A Wi-Fi password with a different capital letter, or with the wrong security type. That is in the Wi-Fi plate guide (in Spanish).
- A link that does exist but goes to the old page.
Use a phone that is not yours. We say it in every guide and this is where it is worth explaining why. Your phone is already signed in to your own site, already knows your Wi-Fi and already has your number in its contacts: it will show you a screen that looks right even if the code leads somewhere a stranger cannot get into. And there is a more human reason: you know what it should say, so you accept whatever nearly matches.
And do not accept the preview: follow the link all the way. Make it open the real page, make it load, make it be the one you wanted. A code can read perfectly and lead to a 404.
Test 2: the real size, on screen
This is the one almost nobody does, and the one that saves the most plastic.
The idea is to show the phone the code at the exact size the printed piece will be, while it is still on the screen. That way you find out whether the code is readable at that size before spending a gram.
- Open the PNG on a computer and zoom in.
- Hold a ruler against the screen and adjust the zoom until the black square measures exactly what the piece will measure: 40 mm for a keychain, 90 for a plate.
- Step back to the distance it will be read from and scan.
If at that size the phone hesitates or fails, you already know the piece will not read either, and you have not switched the printer on. What to do then is one of two things: shorten the link, or make the piece bigger. Both sums are in the link guide (in Spanish) and in the minimum size guide.
What this test does not catch: a screen has perfect contrast and no relief, so a code that passes here can still fail in plastic. That is why there is a test 3.
Test 3: one single piece
Now, print one. Just one, with the filament you are going to use, with your nozzle and with your profile.
This test catches what belongs to printing:
- Blurred modules because the nozzle is too thick for that module size. You can see it with the naked eye: the squares have no corners.
- Not enough contrast between the two filaments. Two colours that look different on the spool can have almost the same luminance; the colours guide has the pairs measured.
- The colour change on the wrong layer, which leaves the code in the base colour or half and half.
- Elephant foot on the first layer, which fattens the bottom modules and joins them up. This only happens if you printed the code against the bed (in Spanish); face up, the squashed layer is the base.
- Glare: a very satin or metallic filament reflects and can hide the pattern depending on the angle, even when the contrast on paper is good.
Scan the piece fresh off the bed, with the same borrowed phone, and do it from three angles: head on, from above and from the side. A code that only reads head on will fail half the time in the real world.
Test 4: the piece where it will live
The last one, and the one most people skip because it feels finished already. Take the piece you have just printed and carry it to where it is going to live. The table in the restaurant, the shop window, the workshop wall, the keychain in somebody's pocket.
What only shows up here:
- The light. At the worst-lit hour of the day, not at noon. And if the place has artificial light, at night too.
- The reflection. A shop window with the sun straight on hides any code at certain hours. Behind glass it is worse still.
- The distance. A code reads comfortably at about ten times its width: a 40 mm keychain at 40 cm; a 150 mm plate at a metre and a half. If it is further away than that, the piece is small no matter how well it works on your desk.
- The height and the angle. A code above head height always gets read skewed.
- Who is going to scan it. If you can, have somebody try who does not know what it is or where it is: they will show you that the piece cannot be seen, even though it reads perfectly once you find it.
If something fails here, it is almost never fixed by changing the code: it is fixed by moving the piece, changing where it goes, or making it bigger. The guide to why it does not scan goes case by case.
Write down what worked
When all four tests are clean, before launching the batch, write down the configuration. A four-line note is enough:
- The exact link, copied and pasted.
- The size of the piece and the module size it produced.
- The correction level and the two filaments, with brand and colour.
- The nozzle and the layer height.
It is good for two things. The first is being able to repeat the batch in six months without guessing all over again. The second, more useful than it sounds: when something fails in the future, you will be able to compare against a configuration you know worked, instead of starting from scratch.
And from there, the batch. How many pieces fit on the plate, how long it takes and what order to put them in is in the batch guide (in Spanish).
Start with test 1
Generate the code, download the PNG and scan it off the screen with somebody else's phone. It is free and it catches half the possible failures.
Open the generatorKeep reading
- Printing a batch: how many fit and how long it takesThe pieces that fit on each bed, the grams and hours of a full plate, and the condition that makes one pause enough for all of them.
- Square, rounded or circular: what changes when you printModule shape barely changes the plastic, but it multiplies by six the separate pieces the nozzle has to start and cut.