Skip to content

Product Catalogs ​

Open index.html to choose an editable A4 catalog preview:

  • modules.html: Wireless I/O Modules, LoRaWAN Products, Serial I/O Modules, Serial Gateway, and Industrial Audible & Visual Alarm. The Y311 series is excluded.
  • field-ready-products.html: the existing field-ready range, including control and power products, irrigation, alarm systems, and cloud data collection.

Both editions use catalog.js, catalog.css, and the shared assets/ directory. Each edition has its own cover, contents, series numbers, page numbers, and back cover. Edit the product data in catalog.js; edition membership is selected by the HTML data-catalog attribute.

From this directory, export both CMYK PDFs:

sh
node export-pdf.mjs

To export one edition:

sh
node export-pdf.mjs modules
node export-pdf.mjs field-ready-products

The final PDFs are written to /Users/yanji/我的云端硬盘/研几/YenGear/基础资料/:

  • YenGear-Modules-Catalog.pdf
  • YenGear-Field-Ready-Products-Catalog.pdf

Temporary rendering files remain in tmp/pdfs/. The download links in index.html point to the final files; open the preview as a local HTML file to use these links. Export requires the repository's Puppeteer dependency, Google Chrome, and Ghostscript (gs).