Skip to content

Commit

Permalink
Document -D command line argument
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaminski committed Oct 29, 2017
1 parent 4e2024e commit 91598f7
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ The EEPROM uid should end with '23'. You may have to reverse the byte order. Say
If you provide the '-r' option, arguments to pass to stratasys-cli will be printed
to help you recreate the cartridge.

The input file must be a binary file.
If you provide the '-D' option, the input file will be interpreted as an ASCII formatted file,
containing lines of the form produced by the printers 'er' command, namely:

```
000096: 00 00 00 00 00 00 00 00 53 54 52 41 54 41 53 59 ........STRATASY
```

Otherwise, the input file must be a binary file.

### Create your own cartridge

Expand All @@ -50,7 +57,10 @@ The EEPROM uid use to end with '23'. You may have to reverse it. Say you have
`233a38b1020000c0`, you should reverse it to be `c0000002b1383a23`.

The generated file will be 113 bytes in size. You can complete the file with zeroes
if you want to make it 512 bytes long, the usual EEPROM size.
if you want to make it 512 bytes long, the usual EEPROM size.a

Supplying the '-D' option will result in an output file containing a double-quoted string
of space delimited bytes, expressed in hexadecimal. Otherwise, the output will be a binary file.

### List supported material

Expand Down

0 comments on commit 91598f7

Please sign in to comment.