Skip to content
larskanisPublic

About

Layout editor and card printer GUI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,019 Commits

Folders and files

Repository files navigation

Mcc2

Layout editor and card printer GUI

Features

  • Simple GUI to edit the layout
  • Variable data input from CSV and DBF file
  • Pure desktop GUI, no web server necessary
  • Supports magstripe encoding and contact+contactless chip encoding
  • Use of font files independent from system installed fonts
  • Vector output formats (SVG and searchable PDF)
  • Various raster image output formats (PNG, JPEG etc.)
  • Vector output format SVG and searchable PDF
  • Headless print per command line and Ruby API
  • Stores all printer settings in the layout file for headless print (Duplex, tray selection, DPI, etc.)

Installation

Install mcc2 on Debian/Ubuntu Linux as:

$ sudo apt install libcairo2-dev libgdk-pixbuf-2.0-dev libmagickwand-dev g++ libxrandr-dev libfox-1.6-dev
$ sudo apt install ruby-dev  # in case you want to use system ruby
$ gem install mcc2

On Windows install the RubyInstaller including Devkit or use the Microsoft Store to install Ruby-4.0. Then run in cmd or powershell:

$ gem install mcc2

That should install all dependencies.

Usage

Run the GUI

$ mcc2 my-layout.mcc2

Development

To install all necessary gems onto your local machine, run bundle update.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/larskanis/mcc2 .

License

The gem is available as open source under the terms of the MIT License.

About

Layout editor and card printer GUI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages