Hi,
I am using Adobe Livecycle Designer ES3 to design forms, and more precisely labels that are printed on a Intermec PM43c printer. SAP Intermec Drivers comes up with a standard ipl203.xdc file that have been modified in order to fulfill our requirement, which is to be able to print Arial text on labels. Since Arial is not a resident font, it has been uploaded on the device. The assigned IDs are:
- c03 Arial
- c04 Arial Bold
Printing using direct IPL commands on the printer works well with the Arial font, however, when sending designed forms to the printer (the SAP drivers converts the form data to IPL command), the result is far from expected.
First changes on the XDC file:
I added the missing fonts in the <pdl> section of the XDC file:
<seq id="Arial_Bold_Normal_ISO-8859-1">1,c04,0,0,0</seq>
<seq id="Arial_Normal_Normal_ISO-8859-1">1,c03,0,0,0</seq>
I then declared the two font in the <deviceInfo> section as following:
<font fileName="arialbd.ttf" flags="0" posture="normal" select="implicitLink" size="1000pt" textEncoding="ISO-8859-1" type="TrueType" typeface="Arial" weight="bold">
<metrics ascent="728pt" bBox="-628pt, -1056pt, 2000pt, 376pt" capHeight="716pt" defaultCharWidth="750pt" descent="210pt" italicAngle="0" lineHeight="1150" pitch="variable" scalable="1" stdVW="137pt" textEncoding="ISO-8859-1" xHeight="519pt">
<charWidths>32:278pt 33:333pt 34:474pt 35:556pt 36:556pt 37:889pt 38:722pt 39:238pt 40:333pt 41:333pt 42:389pt 43:584pt 44:278pt 45:333pt 46:278pt 47:278pt 48:556pt 49:556pt 50:556pt 51:556pt 52:556pt 53:556pt 54:556pt 55:556pt 56:556pt 57:556pt 58:333pt 59:333pt 60:584pt 61:584pt 62:584pt 63:611pt 64:975pt 65:722pt 66:722pt 67:722pt 68:722pt 69:667pt 70:611pt 71:778pt 72:722pt 73:278pt 74:556pt 75:722pt 76:611pt 77:833pt 78:722pt 79:778pt 80:667pt 81:778pt 82:722pt 83:667pt 84:611pt 85:722pt 86:667pt 87:944pt 88:667pt 89:667pt 90:611pt 91:333pt 92:278pt 93:333pt 94:584pt 95:556pt 96:333pt 97:556pt 98:611pt 99:556pt 100:611pt 101:556pt 102:333pt 103:611pt 104:611pt 105:278pt 106:278pt 107:556pt 108:278pt 109:889pt 110:611pt 111:611pt 112:611pt 113:611pt 114:389pt 115:556pt 116:333pt 117:611pt 118:556pt 119:778pt 120:556pt 121:556pt 122:500pt 123:389pt 124:280pt 125:389pt 126:584pt 128:556pt 130:278pt 131:556pt 132:500pt 133:1000pt 134:556pt 135:556pt 136:333pt 137:1000pt 138:667pt 139:333pt 140:1000pt 142:611pt 145:278pt 146:278pt 147:500pt 148:500pt 149:350pt 150:556pt 151:1000pt 152:333pt 153:1000pt 154:556pt 155:333pt 156:944pt 158:500pt 159:667pt 160:278pt 161:333pt 162:556pt 163:556pt 164:556pt 165:556pt 166:280pt 167:556pt 168:333pt 169:737pt 170:370pt 171:556pt 172:584pt 173:333pt 174:737pt 175:552pt 176:400pt 177:549pt 178:333pt 179:333pt 180:333pt 181:576pt 182:556pt 183:333pt 184:333pt 185:333pt 186:365pt 187:556pt 188:834pt 189:834pt 190:834pt 191:611pt 192:722pt 193:722pt 194:722pt 195:722pt 196:722pt 197:722pt 198:1000pt 199:722pt 200:667pt 201:667pt 202:667pt 203:667pt 204:278pt 205:278pt 206:278pt 207:278pt 208:722pt 209:722pt 210:778pt 211:778pt 212:778pt 213:778pt 214:778pt 215:584pt 216:778pt 217:722pt 218:722pt 219:722pt 220:722pt 221:667pt 222:667pt 223:611pt 224:556pt 225:556pt 226:556pt 227:556pt 228:556pt 229:556pt 230:889pt 231:556pt 232:556pt 233:556pt 234:556pt 235:556pt 236:278pt 237:278pt 238:278pt 239:278pt 240:611pt 241:611pt 242:611pt 243:611pt 244:611pt 245:611pt 246:611pt 247:549pt 248:611pt 249:611pt 250:611pt 251:611pt 252:611pt 253:556pt 254:611pt 255:556pt </charWidths>
</metrics>
</font>
<font fileName="arial.ttf" flags="0" posture="normal" select="implicitLink" size="1000pt" textEncoding="ISO-8859-1" type="TrueType" typeface="Arial" weight="normal">
<metrics ascent="728pt" bBox="-665pt, -1040pt, 2000pt, 325pt" capHeight="716pt" defaultCharWidth="750pt" descent="210pt" italicAngle="0" lineHeight="1150" pitch="variable" scalable="1" stdVW="88pt" textEncoding="ISO-8859-1" xHeight="519pt">
<charWidths>32:278pt 33:278pt 34:355pt 35:556pt 36:556pt 37:889pt 38:667pt 39:191pt 40:333pt 41:333pt 42:389pt 43:584pt 44:278pt 45:333pt 46:278pt 47:278pt 48:556pt 49:556pt 50:556pt 51:556pt 52:556pt 53:556pt 54:556pt 55:556pt 56:556pt 57:556pt 58:278pt 59:278pt 60:584pt 61:584pt 62:584pt 63:556pt 64:1015pt 65:667pt 66:667pt 67:722pt 68:722pt 69:667pt 70:611pt 71:778pt 72:722pt 73:278pt 74:500pt 75:667pt 76:556pt 77:833pt 78:722pt 79:778pt 80:667pt 81:778pt 82:722pt 83:667pt 84:611pt 85:722pt 86:667pt 87:944pt 88:667pt 89:667pt 90:611pt 91:278pt 92:278pt 93:278pt 94:469pt 95:556pt 96:333pt 97:556pt 98:556pt 99:500pt 100:556pt 101:556pt 102:278pt 103:556pt 104:556pt 105:222pt 106:222pt 107:500pt 108:222pt 109:833pt 110:556pt 111:556pt 112:556pt 113:556pt 114:333pt 115:500pt 116:278pt 117:556pt 118:500pt 119:722pt 120:500pt 121:500pt 122:500pt 123:334pt 124:260pt 125:334pt 126:584pt 128:556pt 130:222pt 131:556pt 132:333pt 133:1000pt 134:556pt 135:556pt 136:333pt 137:1000pt 138:667pt 139:333pt 140:1000pt 142:611pt 145:222pt 146:222pt 147:333pt 148:333pt 149:350pt 150:556pt 151:1000pt 152:333pt 153:1000pt 154:500pt 155:333pt 156:944pt 158:500pt 159:667pt 160:278pt 161:333pt 162:556pt 163:556pt 164:556pt 165:556pt 166:260pt 167:556pt 168:333pt 169:737pt 170:370pt 171:556pt 172:584pt 173:333pt 174:737pt 175:552pt 176:400pt 177:549pt 178:333pt 179:333pt 180:333pt 181:576pt 182:537pt 183:333pt 184:333pt 185:333pt 186:365pt 187:556pt 188:834pt 189:834pt 190:834pt 191:611pt 192:667pt 193:667pt 194:667pt 195:667pt 196:667pt 197:667pt 198:1000pt 199:722pt 200:667pt 201:667pt 202:667pt 203:667pt 204:278pt 205:278pt 206:278pt 207:278pt 208:722pt 209:722pt 210:778pt 211:778pt 212:778pt 213:778pt 214:778pt 215:584pt 216:778pt 217:722pt 218:722pt 219:722pt 220:722pt 221:667pt 222:667pt 223:611pt 224:556pt 225:556pt 226:556pt 227:556pt 228:556pt 229:556pt 230:889pt 231:500pt 232:556pt 233:556pt 234:556pt 235:556pt 236:278pt 237:278pt 238:278pt 239:278pt 240:556pt 241:556pt 242:556pt 243:556pt 244:556pt 245:556pt 246:556pt 247:549pt 248:611pt 249:556pt 250:556pt 251:556pt 252:556pt 253:500pt 254:556pt 255:500pt </charWidths>
</metrics>
</font>
After referencing the fonts in the XDC file, I realized that the Arial and Arial Bold font were replaced by the UNIVERS resident font c61 before printing, which means there was a problem with the font definition (the sent IPL commands can be seen on the printer line analyzer tool).
Second changes:
Since the first changes made on the XDC file did not lead me to the expected result, I spendt time digging on the Adobe Livecycle documentation and tried to comment the following line:
<rasterSubstitutionFont typeface="Intermec Swiss 721_Normal_Normal" unicodeRange="U+20-U+FF"/>
Indeed, the Intermec Swiss 721 Normal correspond to the UNIVERS resident font on the device.
The result is that by now, I can see that the used font is c03 and c04 as expected, but the font size in output is way larger than the size 8 set on the designer side.
=> Does anyone know why the font size is increased at printing level ? Am I missing something ?
Thanks in advance for your help.
Regards,
Thibault