Intermec PD41 PD41 and PD42 Commercial Printer User's Manual - Page 151

x-www-url-Encoding Syntax Rules, Memory and Storage, Creating a Web Style Guide File

Page 151 highlights

Appendix D - Advanced Configuration x-www-url-Encoding Syntax Rules The value given to environment variables has to be specified respecting the x-www-url-encoding syntax rules. According to the syntax rules, characters can be inserted using the notation %. For example, space in the ASCII table has the Hex number 20 so it corresponds to %20. For example, "Intermec Technologies Corporation" corresponds to "Intermec%20Technologies%20Corporation" (it can also be written "Intermec+Technologies+Corporation"). Colors are specified according to the RGB syntax: %23cdcdcd corresponds to #cdcdcd. Any quotation marks (%22) must be preceded by a back slash (\). The file must contain only one line, where the different variables and valuers are separated by ampersand (&) characters. Memory and Storage Web Style Guide files are designed to be placed on the printer's pffs, as mentioned. Due to the memory limits of the pffs the environment variables have very short name (4 bytes), which may make them less user friendly to use, but this allows more space to be used for the value of the variable. There is also a size limit per file that is set to 256 bytes. In case the Web Style Guide File you want to create is bigger than 256 bytes, the content has to be split in more than one file. The parser daemon will start looking for the first Web Style Guide File which has to be named "webstyleguide.0", then it will try to read the next file called "webstyleguide.1" and so on. Creating a Web Style Guide File You can create Web Style Guide Files with a standard text editor and then transfer them to the printer. Follow these rules when creating a Web Style Guide File: • The name has to be lowercase. • The first file has to have extension ".0". The following files have to have sequential extension number if one number is missing in the sequence the parser will stop reading the files. PD41 and PD42 Commercial Printer User's Manual 137

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162

Appendix D — Advanced Configuration
PD41 and PD42 Commercial Printer User’s Manual
137
x-www-url-Encoding Syntax Rules
The value given to environment variables has to be specified
respecting the x-www-url-encoding syntax rules. According to the
syntax rules, characters can be inserted using the notation %<ASCII
Hex>. For example, space in the ASCII table has the Hex number 20 so
it corresponds to %20. For example, “Intermec Technologies
Corporation” corresponds to
“Intermec%20Technologies%20Corporation” (it can also be written
“Intermec+Technologies+Corporation”).
Colors are specified according to the RGB syntax: %23cdcdcd
corresponds to #cdcdcd.
Any quotation marks (%22) must be preceded by a back slash (\).
The file must contain only one line, where the different variables and
valuers are separated by ampersand (&) characters.
Memory and Storage
Web Style Guide files are designed to be placed on the printer’s pffs, as
mentioned. Due to the memory limits of the pffs the environment
variables have very short name (4 bytes), which may make them less
user friendly to use, but this allows more space to be used for the value
of the variable.
There is also a size limit per file that is set to 256 bytes. In case the
Web Style Guide File you want to create is bigger than 256 bytes, the
content has to be split in more than one file.
The parser daemon will start looking for the first Web Style Guide
File which has to be named “webstyleguide.0”, then it will try to read
the next file called “webstyleguide.1” and so on.
Creating a Web Style Guide File
You can create Web Style Guide Files with a standard text editor and
then transfer them to the printer. Follow these rules when creating a
Web Style Guide File:
The name has to be lowercase.
The first file has to have extension “.0”. The following files have to
have sequential extension number if one number is missing in the
sequence the parser will stop reading the files.