Remote Sampler supports Bluetooth printing of LIMS bottle labels in the field.
...
Action 1 - Erase the existing label location data
Action 2 - Write the confirmed job location on the label
Action 3 - Convert the label to black and white
Action 4 - Print the label
There are configuration settings available to fine-tune the behaviour of each of these steps.
...
Name | Description | Default Value |
---|---|---|
Background X Position | The x-coordinate of the top left corner of the background for the overwritten address. | 15 |
Background Y Position | The y-coordinate of the top left corner of the background for the overwritten address. | 40 |
Background Height | The height of the background for the overwritten address in pixels. | 120 |
Background Width | The width of the background for the overwritten address in pixels. | 350 |
Address Text X Position | The x-coordinate of the top left corner of the overwritten address text. | 15 |
Address Text Y Position | The y-coordinate of the top left corner of the overwritten address text. | 65 |
Line Height | The height of each address line in pixels. | 25 |
Maximum Line Character Count | The maximum number of letters allowed on a line of text. | 30 |
Maximum Address Lines | The maximum number of lines over which to print the overwritten address text. | 0 |
Font Type | The font style for the overwritten address text. | 22px Arial |
Understanding the Settings
Original LIMS Label
The initial LIMS label looks like the example shown below. The label image itself is generated by LIMS and the fundamental dimensions and aspect ratio of the image are defined there. Remote Sampler controls how this image should be positioned and printed on the physical labels.
...
The dimensions marked on the diagram are controlled by settings in the Remote Sampler app as follows.
A = Label Height (pixels)
B = Label Width (pixels)
+ = The X coordinate of this green cross is the Label Origin X
+ = The Y coordinate of this green cross is the Label Origin Y
The Scale Factor settings can be used to scale the whole label image according to an integer factor. For example, when this is set to 1, the label is printed at exactly the resolution output by LIMS. If the number 2 is used, the height and width of the label will be multiplied accordingly generating a much larger image. Note that this factor must be an integer value and fractional values will be ignored.
Thermal label printers print in black and white and interpret shades of grey as either black or white. The outcome of this process can lead to anti-aliased text looking somewhat jagged around the edges. The Monochrome Threshold setting in Remote Sampler can be used to define a value between 0-255 that is used to determine whether a grey pixel in the label image is interpreted as black or white. A higher number yields more black pixels in the final printed label.
The Print Delay setting can be used to insert a configurable pause between each label printed by the label printer if necessary.
Erasing the Location Data
Before Remote Sampler sends label data to the printer, the area of the label that contains the original job location data is erased. The erased area is shown as the red box below.
...
The dimensions marked on the diagram are controlled by settings in the Remote Sampler app as follows.
C = Background Height
D = Background Width
+= The X coordinate of this red cross is the Background X Position
+= The Y coordinate of this red cross is the Background Y Position
Changing these settings allows control over the area of the label that is erased before any updated location data is written to the label.
Adding New Location Data
Once the original location data has been erased, Remote Sampler then writes updated job location data back to the label. The updated location data is written into the area shown as a blue box in the diagram below.
...
The dimensions marked on the diagram are controlled by settings in the Remote Sampler app as follows.
E = Maximum Address Lines
F = Maximum Line Character Count
G = Line Height
+= The X coordinate of this blue cross is the Address Text X Position
+= The Y coordinate of this blue cross is the Address Text Y Position
The Font Type setting can be used to change the font and its size for the updated location text.
Changing these settings allows control over the updated location text that is written onto the label.