Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=obry-net.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=G2Hv1eQgJ1S0xnujGQRpRYnyybPcQHt2vKqsV21QuGc=; b=OwvSUGOnqmVqoNsxsPHu0wcvNCX1hYanKRFLRv2oL0gOvM5gT8FLAM1CUkwAXvJ/q/ n+EBpozl96TOXI8P7p/Eep0O0LOHJDnCNg5yDr5sy7DfYJ4FKOLYiBkKMghAWPjK+Ubc is++9R7qEjuCVAa2GaiwER2cQaApmS5l52YwAAp+S5k+PYJ4BtIns9b8HrtG8BXQkeUi yUU1zW08f1eYaLBua/t+AnnLTPfbLKlMwVsCF6HaY6cepcjOYdrYQjoYDCnXbRZCuQ1T cWIqfyD+p7x7FymNZ9brsg/8jKAOq6Csy6FMuHwvEn7x2ilfdQKvMV1Zo7JzYEINJpcw R66Q== Message-ID: <1513189960.2462.29.camel@obry.net> From: Pascal Obry Date: Wed, 13 Dec 2017 19:32:40 +0100 In-Reply-To: References: <1404294158.28244.1.camel@pascal.home.net> <1513184881.2462.20.camel@obry.net> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Printing-architecture] CUPS and PPD List-Id: Printing architecture under linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Sweet Cc: "printing-architecture@lists.linux-foundation.org" Hello Michael, Thanks for the quick response! > You can also > look for the supported "media-type" values with the > cupsDestFindSupported function, in order to specify it separately. That's why I was looking for :) Still a little issue. With the following code: ipp_attribute_t *attr = cupsFindDestSupported(hcon, dest, info, "media-type"); if (attr) { for (int k=0; k