The CUPS driver is very useful, but the media selection menu in CUPS does not give the paper size, just the label code, so I thought a table giving the description, the label code and the dimensions in a couple of units might be handy. It’s really for my own reference.
First, find siislp200.ppd and look through it for the relevant text.
grep PageSize siislp200.ppd | grep SLP > sizes.txt
This gives all the lines that set page sizes. The sizes are in points.
Neaten up the output using cut; this pulls out the label size names:
$ cut -d'*' -f2 sizes.txt | cut -d' ' -f2- | cut -d':' -f1 > list-of-labels.txt
This pulls out the sizes (in points)
$ cut -d'[' -f2 sizes.txt | cut -d']' -f1 | cut -d' ' -f1 > size-in-pointsx.txt
$ cut -d'[' -f2 sizes.txt | cut -d']' -f1 | cut -d' ' -f2 > size-in-pointsy.txt
(-d'x' sets x as the delimiter, and -fn takes the nth field defined by these delimiters. I separate x and y dimensions so that paste below will put a tab in between instead the the space that is already there, so when I import into LibreOffice Calc I can set tab as the delimiter.)
Then (I have to do things one step at a time, sorry)
$ paste list-of-labels.txt size-in-pointsx.txt size-in-pointsy.txt > labels-and-sizes.txt
Then opened that list in Libreoffice Calc and calculated the sizes in mm and inches as well as points. (Also decided to separate the label code from the description). Pasted into Writer, formatted the table and exported as HTML, and pasted here.
Note: x = length along label roll, y = width of roll.
Description
|
Code
|
x (pts)
|
y (pts)
|
x (mm)
|
y (mm)
|
x (in)
|
y (in)
|
8mmSpine/8mm Spine
|
SLP-27210
|
187
|
26
|
66
|
9
|
2.60
|
0.36
|
35mmSlide/35mm Slide
|
SLP-35L
|
26
|
104
|
9
|
37
|
0.36
|
1.44
|
AddressLarge/Address – Large
|
SLP-2RLE
|
236
|
99
|
83
|
35
|
3.28
|
1.37
|
AddressSmall/Address – Small
|
SLP-1RL, SLP-2RL
|
236
|
68
|
83
|
24
|
3.28
|
0.94
|
Diskette/Diskette
|
SLP-DRL
|
181
|
136
|
64
|
48
|
2.51
|
1.89
|
EuroFolderNarrow/Euro Folder – Narrow
|
SLP-FN
|
526
|
107
|
186
|
38
|
7.31
|
1.49
|
EuroFolderWide/Euro Folder – Wide
|
SLP-FW
|
526
|
136
|
186
|
48
|
7.31
|
1.89
|
EuroNameBadge/Euro Name Badge
|
SLP-ENT
|
189
|
108
|
67
|
38
|
2.62
|
1.50
|
FileFolder/File Folder
|
SLP-FLW
|
230
|
37
|
81
|
13
|
3.19
|
0.51
|
Jewelry/Jewelry
|
SLP-Jewel
|
76
|
136
|
27
|
48
|
1.06
|
1.89
|
MediaBadge/Media Badge
|
SLP-NB, SLP-NR
|
180
|
136
|
63
|
48
|
2.50
|
1.89
|
MultiPurpose/Multi-Purpose
|
SLP-MRL
|
126
|
68
|
44
|
24
|
1.75
|
0.94
|
Return/Return
|
SLP-RTN
|
122
|
45
|
43
|
16
|
1.69
|
0.62
|
Round/Round
|
SLP-RND
|
62
|
68
|
22
|
24
|
0.86
|
0.94
|
Shipping/Shipping
|
SLP-SRL
|
271
|
136
|
96
|
48
|
3.76
|
1.89
|
VHSFace/VHS Face
|
SLP-VTL
|
205
|
127
|
72
|
45
|
2.85
|
1.76
|
VHSSpine/VHS Spine
|
SLP-VSL
|
400
|
50
|
141
|
18
|
5.56
|
0.69
|
ZipDisk/Zip Disk
|
SLP-ZIP
|
156
|
136
|
55
|
48
|
2.17
|
1.89
|
CutHanging13/1/3 cut hanging file folder
|
SLP-3HFL
|
90
|
222
|
32
|
78
|
1.25
|
3.08
|
CutHanging15/1/5 cut hanging file folder
|
SLP-5HFL
|
90
|
114
|
32
|
40
|
1.25
|
1.58
|
EuroFileFolder/European File folder
|
SLP-EHFL
|
139
|
112
|
49
|
40
|
1.93
|
1.56
|
RetailLabel/Retail Label
|
SLP-RTL
|
90
|
104
|
32
|
37
|
1.25
|
1.44
|
EuroNameBadgeLarge/Euro Name Badge Large
|
SLP-ENTL, SLP-FCS2
|
223
|
136
|
79
|
48
|
3.10
|
1.89
|
TopCoatedPaper/Topcoated Paper is 150 mm length
|
SLP-P150, SLP-DIA
|
396
|
136
|
140
|
48
|
5.50
|
1.89
|
4PartLabel/4-Part Label
|
SLP-MPL4
|
271
|
136
|
96
|
48
|
3.76
|
1.89
|
CUPS