Sitemap | Impressum | Contact

Creating Print Plugins

You can add custom print layouts by implementing the interface PrintPlugin in the package yass.print.

public interface PrintPlugin {
    public String getTitle();
    public String getDescription();
    public JPanel getControl();

    public void commit(Hashtable options);   
    public boolean print(Vector songList, String filename, Hashtable options);
}

The plugin must have a correspondent GIF image.

Examples:

Add the class file and GIF image to an archive called yass-plugins.jar. Put the archive in the same directory as the Yass executable.

In the preferences, add the plugin's name to the Printer plugins. The plugin should appear in the printer dialog after restarting Yass.

Please understand that I won't give programming support. Contact me if you think your plugin should be included in the download section or directly in the Yass executable.