gs --help | ^
gsed -n '/Available /,/Search /{/:/d; s/ \+/\n/g; /^\n/D;p}'
得到如下内容:
| 序号 | 设备 |
|---|---|
| 1 | alc1900 |
| 2 | alc2000 |
| 3 | alc4000 |
| 4 | alc4100 |
| 5 | alc8500 |
| 6 | alc8600 |
| 7 | alc9100 |
| 8 | ap3250 |
| 9 | appledmp |
| 10 | atx23 |
| 11 | atx24 |
| 12 | atx38 |
| 13 | bbox |
| 14 | bit |
| 15 | bitcmyk |
| 16 | bitrgb |
| 17 | bitrgbtags |
| 18 | bj10e |
| 19 | bj10v |
| 20 | bj10vh |
| 21 | bj200 |
| 22 | bjc600 |
| 23 | bjc800 |
| 24 | bjc880j |
| 25 | bjccmyk |
| 26 | bjccolor |
| 27 | bjcgray |
| 28 | bjcmono |
| 29 | bmp16 |
| 30 | bmp16m |
| 31 | bmp256 |
| 32 | bmp32b |
| 33 | bmpgray |
| 34 | bmpmono |
| 35 | bmpsep1 |
| 36 | bmpsep8 |
| 37 | ccr |
| 38 | cdeskjet |
| 39 | cdj1600 |
| 40 | cdj500 |
| 41 | cdj550 |
| 42 | cdj670 |
| 43 | cdj850 |
| 44 | cdj880 |
| 45 | cdj890 |
| 46 | cdj970 |
| 47 | cdjcolor |
| 48 | cdjmono |
| 49 | cdnj500 |
| 50 | cfax |
| 51 | chp2200 |
| 52 | cif |
| 53 | cljet5 |
| 54 | cljet5c |
| 55 | cljet5pr |
| 56 | coslw2p |
| 57 | coslwxl |
| 58 | cups |
| 59 | declj250 |
| 60 | deskjet |
| 61 | devicen |
| 62 | dfaxhigh |
| 63 | dfaxlow |
| 64 | display |
| 65 | dj505j |
| 66 | djet500 |
| 67 | djet500c |
| 68 | dl2100 |
| 69 | dnj650c |
| 70 | docxwrite |
| 71 | epl2050 |
| 72 | epl2050p |
| 73 | epl2120 |
| 74 | epl2500 |
| 75 | epl2750 |
| 76 | epl5800 |
| 77 | epl5900 |
| 78 | epl6100 |
| 79 | epl6200 |
| 80 | eplcolor |
| 81 | eplmono |
| 82 | eps2write |
| 83 | eps9high |
| 84 | eps9mid |
| 85 | epson |
| 86 | epsonc |
| 87 | escp |
| 88 | escpage |
| 89 | faxg3 |
| 90 | faxg32d |
| 91 | faxg4 |
| 92 | fmlbp |
| 93 | fmpr |
| 94 | fpng |
| 95 | fs600 |
| 96 | gdi |
| 97 | hl1240 |
| 98 | hl1250 |
| 99 | hl7x0 |
| 100 | hocr |
| 101 | hpdj1120c |
| 102 | hpdj310 |
| 103 | hpdj320 |
| 104 | hpdj340 |
| 105 | hpdj400 |
| 106 | hpdj500 |
| 107 | hpdj500c |
| 108 | hpdj510 |
| 109 | hpdj520 |
| 110 | hpdj540 |
| 111 | hpdj550c |
| 112 | hpdj560c |
| 113 | hpdj600 |
| 114 | hpdj660c |
| 115 | hpdj670c |
| 116 | hpdj680c |
| 117 | hpdj690c |
| 118 | hpdj850c |
| 119 | hpdj855c |
| 120 | hpdj870c |
| 121 | hpdj890c |
| 122 | hpdjplus |
| 123 | hpdjportable |
| 124 | ibmpro |
| 125 | ijs |
| 126 | imagen |
| 127 | inferno |
| 128 | ink_cov |
| 129 | inkcov |
| 130 | itk24i |
| 131 | itk38 |
| 132 | iwhi |
| 133 | iwlo |
| 134 | iwlq |
| 135 | jetp3852 |
| 136 | jj100 |
| 137 | jpeg |
| 138 | jpegcmyk |
| 139 | jpeggray |
| 140 | la50 |
| 141 | la70 |
| 142 | la75 |
| 143 | la75plus |
| 144 | laserjet |
| 145 | lbp310 |
| 146 | lbp320 |
| 147 | lbp8 |
| 148 | lex2050 |
| 149 | lex3200 |
| 150 | lex5700 |
| 151 | lex7000 |
| 152 | lips2p |
| 153 | lips3 |
| 154 | lips4 |
| 155 | lips4v |
| 156 | lj250 |
| 157 | lj3100sw |
| 158 | lj4dith |
| 159 | lj4dithp |
| 160 | lj5gray |
| 161 | lj5mono |
| 162 | ljet2p |
| 163 | ljet3 |
| 164 | ljet3d |
| 165 | ljet4 |
| 166 | ljet4d |
| 167 | ljet4pjl |
| 168 | ljetplus |
| 169 | ln03 |
| 170 | lp1800 |
| 171 | lp1900 |
| 172 | lp2000 |
| 173 | lp2200 |
| 174 | lp2400 |
| 175 | lp2500 |
| 176 | lp2563 |
| 177 | lp3000c |
| 178 | lp7500 |
| 179 | lp7700 |
| 180 | lp7900 |
| 181 | lp8000 |
| 182 | lp8000c |
| 183 | lp8100 |
| 184 | lp8200c |
| 185 | lp8300c |
| 186 | lp8300f |
| 187 | lp8400f |
| 188 | lp8500c |
| 189 | lp8600 |
| 190 | lp8600f |
| 191 | lp8700 |
| 192 | lp8800c |
| 193 | lp8900 |
| 194 | lp9000b |
| 195 | lp9000c |
| 196 | lp9100 |
| 197 | lp9200b |
| 198 | lp9200c |
| 199 | lp9300 |
| 200 | lp9400 |
| 201 | lp9500c |
| 202 | lp9600 |
| 203 | lp9600s |
| 204 | lp9800c |
| 205 | lps4500 |
| 206 | lps6500 |
| 207 | lq850 |
| 208 | lxm3200 |
| 209 | lxm5700m |
| 210 | m8510 |
| 211 | md1xMono |
| 212 | md2k |
| 213 | md50Eco |
| 214 | md50Mono |
| 215 | md5k |
| 216 | mgr4 |
| 217 | mgr8 |
| 218 | mgrgray2 |
| 219 | mgrgray4 |
| 220 | mgrgray8 |
| 221 | mgrmono |
| 222 | miff24 |
| 223 | mj500c |
| 224 | mj6000c |
| 225 | mj700v2c |
| 226 | mj8000c |
| 227 | ml600 |
| 228 | necp6 |
| 229 | npdl |
| 230 | nullpage |
| 231 | oce9050 |
| 232 | ocr |
| 233 | oki182 |
| 234 | oki4w |
| 235 | okiibm |
| 236 | oprp |
| 237 | opvp |
| 238 | paintjet |
| 239 | pam |
| 240 | pamcmyk32 |
| 241 | pamcmyk4 |
| 242 | pbm |
| 243 | pbmraw |
| 244 | pcl3 |
| 245 | pclm |
| 246 | pcx16 |
| 247 | pcx24b |
| 248 | pcx256 |
| 249 | pcxcmyk |
| 250 | pcxgray |
| 251 | pcxmono |
| 252 | pdfimage24 |
| 253 | pdfimage32 |
| 254 | pdfimage8 |
| 255 | pdfocr24 |
| 256 | pdfocr32 |
| 257 | pdfocr8 |
| 258 | pdfwrite |
| 259 | pgm |
| 260 | pgmraw |
| 261 | pgnm |
| 262 | pgnmraw |
| 263 | photoex |
| 264 | picty180 |
| 265 | pj |
| 266 | pjetxl |
| 267 | pjxl |
| 268 | pjxl300 |
| 269 | pkm |
| 270 | pkmraw |
| 271 | pksm |
| 272 | pksmraw |
| 273 | plan |
| 274 | plan9bm |
| 275 | planc |
| 276 | plang |
| 277 | plank |
| 278 | planm |
| 279 | plib |
| 280 | plibc |
| 281 | plibg |
| 282 | plibk |
| 283 | plibm |
| 284 | png16 |
| 285 | png16m |
| 286 | png256 |
| 287 | png48 |
| 288 | pngalpha |
| 289 | pnggray |
| 290 | pngmono |
| 291 | pngmonod |
| 292 | pnm |
| 293 | pnmraw |
| 294 | ppm |
| 295 | ppmraw |
| 296 | pr1000 |
| 297 | pr1000_4 |
| 298 | pr150 |
| 299 | pr201 |
| 300 | ps2write |
| 301 | psdcmyk |
| 302 | psdcmyk16 |
| 303 | psdcmykog |
| 304 | psdrgb |
| 305 | psdrgb16 |
| 306 | pwgraster |
| 307 | pxlcolor |
| 308 | pxlmono |
| 309 | r4081 |
| 310 | rinkj |
| 311 | rpdl |
| 312 | samsunggdi |
| 313 | sj48 |
| 314 | spotcmyk |
| 315 | st800 |
| 316 | stcolor |
| 317 | t4693d2 |
| 318 | t4693d4 |
| 319 | t4693d8 |
| 320 | tek4696 |
| 321 | tiff12nc |
| 322 | tiff24nc |
| 323 | tiff32nc |
| 324 | tiff48nc |
| 325 | tiff64nc |
| 326 | tiffcrle |
| 327 | tiffg3 |
| 328 | tiffg32d |
| 329 | tiffg4 |
| 330 | tiffgray |
| 331 | tifflzw |
| 332 | tiffpack |
| 333 | tiffscaled |
| 334 | tiffscaled24 |
| 335 | tiffscaled32 |
| 336 | tiffscaled4 |
| 337 | tiffscaled8 |
| 338 | tiffsep |
| 339 | tiffsep1 |
| 340 | txtwrite |
| 341 | uniprint |
| 342 | xcf |
| 343 | xes |
| 344 | xpswrite |