| 1 | % bgcode(1) | User Commands |
| 2 | % |
| 3 | % "December 23 2023" |
| 4 | |
| 5 | # NAME |
| 6 | |
| 7 | bgcode - compress/decompress byte streams using LZSS |
| 8 | |
| 9 | # SYNOPSIS |
| 10 | |
| 11 | **bgcode** [_IN\_FILE_] [ OPTIONS ] |
| 12 | |
| 13 | # DESCRIPTION |
| 14 | |
| 15 | **bgcode** converts textual gcode files into binary gcode, as used by Prusa 3D printers. |
| 16 | |
| 17 | # OPTIONS |
| 18 | |
| 19 | **\-\-checksum**=_CHECKSUM_ |
| 20 | : Checksum algorithm to use. Valid values for _CHECKSUM_ are `0` for no |
| 21 | checksum and `1` for CRC32 (default). |
| 22 | |
| 23 | **\-\-file_metadata_compression**=_COMPRESSION_ |
| 24 | : Compression algorithm to use for file metadata. Valid values for |
| 25 | _COMPRESSION_ are: `0` for None (default), `1` for Deflate, `2` for |
| 26 | Heatshrink\_11\_4, and `3` for Heatshrink\_12\_4. |
| 27 | |
| 28 | **\-\-print_metadata_compression**=_COMPRESSION_ |
| 29 | : Compression algorithm to use for print metadata. Valid values for |
| 30 | _COMPRESSION_ are: `0` for None (default), `1` for Deflate, `2` for |
| 31 | Heatshrink\_11\_4, and `3` for Heatshrink\_12\_4. |
| 32 | |
| 33 | **\-\-printer_metadata_compression**=_COMPRESSION_ |
| 34 | : Compression algorithm to use for printer metadata. Valid values for |
| 35 | _COMPRESSION_ are: `0` for None (default), `1` for Deflate, `2` for |
| 36 | Heatshrink\_11\_4, and `3` for Heatshrink\_12\_4. |
| 37 | |
| 38 | **\-\-slicer_metadata_compression**=_COMPRESSION_ |
| 39 | : Compression algorithm to use for slicer metadata. Valid values for |
| 40 | _COMPRESSION_ are: `0` for None (default), `1` for Deflate, `2` for |
| 41 | Heatshrink\_11\_4, and `3` for Heatshrink\_12\_4. |
| 42 | |
| 43 | **\-\-gcode_compression**=_COMPRESSION_ |
| 44 | : Compression algorithm to use for G-code. Valid values for |
| 45 | _COMPRESSION_ are: `0` for None (default), `1` for Deflate, `2` for |
| 46 | Heatshrink\_11\_4, and `3` for Heatshrink\_12\_4. |
| 47 | |
| 48 | **\-\-gcode_encoding**=_GCODE\_ENCODING_ |
| 49 | : Encoding format to use for G-code. Valid values for _GCODE\_ENCODING_ are |
| 50 | `0` for None (default), `1` for MeatPack, and `2` for MeatPackComments. |
| 51 | |
| 52 | **\-\-metadata_encoding**=_METADATA\_ENCODING_ |
| 53 | : Encoding format to use for metadata. The only available value for this is |
| 54 | `0` for INI (default). |
| 55 | |
| 56 | # BUGS |
| 57 | |
| 58 | The upstream BTS can be found at https://github.com/prusa3d/libbgcode/issues. |
| 59 | |
| 60 | # AUTHOR |
| 61 | |
| 62 | Chow Loong Jin <[email protected]> |
| 63 | : Wrote this manpage for the Debian system. |
| 64 | |
| 65 | # COPYRIGHT |
| 66 | |
| 67 | Copyright © 2023 Chow Loong Jin |
| 68 | |
| 69 | This manual page was written for the Debian system (and may be used by |
| 70 | others). |
| 71 | |
| 72 | Permission is granted to copy, distribute and/or modify this document under |
| 73 | the terms of the GNU General Public License, Version 2 or (at your option) |
| 74 | any later version published by the Free Software Foundation. |
| 75 | |
| 76 | On Debian systems, the complete text of the GNU General Public License |
| 77 | can be found in /usr/share/common-licenses/GPL. |
| 78 | |
| 79 | [comment]: # Local Variables: |
| 80 | [comment]: # mode: markdown |
| 81 | [comment]: # End: |