cupsSetDests

Name

cupsSetDests -- Save the list of destinations for the default server.

Synopsis

#include <cups/cups.h>

void cupsSetDests(int num_dests, cups_dest_t * dests);

Description

Save the list of destinations for the default server.

This function saves the destinations to /etc/cups/lpoptions when run as root and ~/.cups/lpoptions when run as a normal user.

Return Value

This function does not return a value.