Chapter 2. Using libgutenprint

Table of Contents
Code prerequisites
Linking with libgutenprint
Integrating libgutenprint

This chapter describes how to write programs that use libgutenprint.

Code prerequisites

To use libgutenprint with a program, several steps must be taken:

The following is a short example program. It does not do anything useful, but it does everything required to link with libgutenprint and call other functions from libgutenprint.

#include <gimp-print/gimp-print.h>
int
main (int argc, char *argv[])
{
  stp_init();
  return 0;
}