Sxy.prn Link
The paper is written as if the file sxy.prn is a newly‑discovered data‑exchange format used in the field of synthetic biology for representing synthetic gene‑circuit designs. If sxy.prn refers to something else, you can replace the technical details while keeping the overall structure.
Method A – Ghostscript (works for both PostScript & PCL)
# Windows (using the Ghostscript executable)
gswin64c -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=sxy.pdf sxy.prn
# macOS / Linux
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=sxy.pdf sxy.prn
Method B – Printfil (Windows GUI)
sxy.prn follows a line‑oriented, section‑based grammar. Each line is either a comment (#), a section header ([SECTION]), or a key‑value entry (KEY = VALUE). Sections can be nested via dot notation. Table 1 summarises the core sections.
| Section | Description | Example |
|---------|-------------|---------|
| [CIRCUIT] | Global circuit metadata | NAME = ToggleSwitch |
| [CIRCUIT.COMPONENTS] | List of parts (ordered) | 1 = promoter: Ptet |
| [CIRCUIT.INTERACTIONS] | Directed edges with logic | 1 = 2 : repression |
| [PARTS.<ID>] | Metadata for a specific part | SEQUENCE = ATG… |
| [SIMULATION] | Global simulation settings | TIME = 1000 |
| [SIMULATION.INITIAL] | Initial concentrations | geneA = 10 nM | sxy.prn
Formal BNF (simplified)
file ::= line
line ::= comment | section | entry
comment ::= "#" any_char EOL
section ::= "[" identifier "." identifier "]" EOL
entry ::= key "=" value EOL
key ::= identifier
value ::= any_char_except_EOL
identifier ::= letter letter
The grammar is deliberately permissive; validation is performed by the reference parser. The paper is written as if the file sxy
(Add any additional references relevant to your specific use‑case.)
| Goal | Tool | How to Use |
|------|------|------------|
| Plain‑text (ASCII) preview | Notepad++ / VS Code | Open directly; you’ll see commands and any embedded text. |
| PostScript preview | GSview, Ghostscript, Preview (macOS), Adobe Acrobat (open as PDF) | Rename to .ps and open, or use gswin64c -sDEVICE=display -dNOPAUSE -dBATCH sxy.prn. |
| PCL preview | PCL Viewer (free), Printfil, GIMP (via gimp-convert), GSview (via Ghostscript’s pcl driver) | Example: gswin64c -sDEVICE=pngalpha -sOutputFile=sxy.png -dNOPAUSE -dBATCH sxy.prn. |
| HPGL preview | HPGL Viewer, LibreCAD, Inkscape (import HPGL) | Open as “HPGL” file. |
| Binary dump | HxD, Hex Fiend, 010 Editor | Open to see raw hex – useful for debugging. | Method A – Ghostscript (works for both PostScript