I am using Microsoft Access. I am using a SDK to print directly to a Brother labeller (one of 3 templates)
In this case, the label will only have one field. My code will populate that field.
In order for my app to choose the appropriate label template, I must first calculate the printed width of my data and then choose the appropriate template.
So, how do I calculate the width of that printed text in mm (if possible) ?
ps. I know that many of you are helping others, just because.. I hope your good Karma comes back to you and your loved ones in these difficult times.
Just measure your label (your provider should have supplied the exact dimensions but just in case)
Go to Control Panel --> Devices and Printers -->JUST Single Click one of your Printers -->"Print Server Properties" should become visible on the top --> Create a New Form --> Enter the exact dimensions of your label....BEFORE you enter the numbers consult your Brother labeller...it probably has an empty space (margin/gap whatever ...it would be some mms) ...enter this to the "Printer Area margins"..give your label a name.
Now head to Access...open your report...page setup...select the Brother...select the label (the name YOU gave)...now just tweak the report to match the label dimensions...just keep getting it shorter/narrower till the green overprint indicator turns off