Skip to content

Commit 66d822d

Browse files
committed
Magic naming necessary for sizing stickers correctly
1 parent 0ef03eb commit 66d822d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

switch-configuration/config/scripts/generate_ps_stickers.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
% Assumes a $PageWidth Wide $PageHeight tall page. (Change above, according to media roll)
3939
/PageWidth { $PageWidth Inch } bind def
4040
/PageHeight { $PageHeight Inch } bind def
41-
%/StickerWidth { $StickerWidth Inch } bind def %%FIXME%% Moved StickerWidth definition into embed() routine to enable MicroSwitch
41+
%/StickerWidth { $StickerWidth Inch } def %%FIXME%% Moved StickerWidth definition into embed() routine to enable MicroSwitch
4242
/StickerHeight { $StickerHeight Inch } bind def
4343
/CornerRadius { $Radius Inch } bind def % Radius for Corner of sticker cut line
4444
<< /PageSize [ PageWidth 0.25 Inch add PageHeight $SheetCount mul ] >> setpagedevice
@@ -143,7 +143,7 @@ sub embed
143143
# Draw sticker cut bounding box around sticker with 0.25" radius corners
144144
print <<EOF;
145145
gsave
146-
/StickerWidth { $stickwidth Inch } bind def %%FIXME%% Moved StickerWidth definition into embed() routine to enable MicroSwitch
146+
/StickerWidth { $stickwidth Inch } def %%FIXME%% Moved StickerWidth definition into embed() routine to enable MicroSwitch
147147
0.5 0 0 0 (StickerCut) 0 /tint exch def
148148
findcmykcustomcolor
149149
false setoverprint

switch-configuration/config/switchtypes

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ RegDesk 52 103 2001:470:f026:103::200:52 registration X.9 Normal ex4200-48px
7070
ExpoIDF 53 103 2001:470:f026:103::200:53 exIDF F.1 Loud ex4300-48p 58:00:bb:4a:59:e0
7171
//retired 54 503 2001:470:f026:503::200:54 cfIDF I.1 Loud ex4300-48p
7272
//retired 55 103 2001:470:f026:103::200:55 Booth W.9 Loud ex4300-48p
73-
BallroomA 56 103 2001:470:f026:103::200:56 exMicro C.9 Silent ex2300-c-12p 4c:16:fc:3f:36:03
74-
BallroomG 57 103 2001:470:f026:103::200:57 exMicro F.9 Silent ex2300-c-12p 38:4f:49:15:f2:05
75-
Rm103 58 503 2001:470:f026:503::200:58 cfMicro I.9 Silent ex2300-c-12p 84:03:28:0b:f0:7a
73+
MicroA 56 103 2001:470:f026:103::200:56 exMicro C.9 Silent ex2300-c-12p 4c:16:fc:3f:36:03
74+
MicroG 57 103 2001:470:f026:103::200:57 exMicro F.9 Silent ex2300-c-12p 38:4f:49:15:f2:05
75+
Micro103 58 503 2001:470:f026:503::200:58 cfMicro I.9 Silent ex2300-c-12p 84:03:28:0b:f0:7a
7676
ConfIDF 59 503 2001:470:f026:503::200:59 cfIDF C.1 Loud ex4300-48p 58:00:bb:4a:2e:c0
77-
Rm104 60 503 2001:470:f026:503::200:60 cfMicro I.9 Silent ex2300-c-12p b4:8a:5f:07:17:0c
77+
Micro104 60 503 2001:470:f026:503::200:60 cfMicro I.9 Silent ex2300-c-12p b4:8a:5f:07:17:0c

0 commit comments

Comments
 (0)