cups
cups copied to clipboard
Can I change pdf to urf format in CUPS?
Implemented IPP printing function in Android using CUPS.
I print via CUPS in simple application/pdf
format.
Printing was successful, but I found that there are quite a few printers that do not support PDF.
ipp_attribute_t* attr;
if ((attr = ippFindAttribute(response, "document-format-supported", IPP_TAG_MIMETYPE)) != NULL){
ipp_attribute_t* attrTemp = attr;
while(attrTemp->name){
LOGE("2. attrTemp attr name => %s", attrTemp->name);
attrTemp = attrTemp->next;
if(attrTemp == NULL) break;
}
}else LOGE("2. attr is null");
The printer I have with the code above
- SAMSUNG SL-C1404W
- SAMSUNG SL-M2830DW
- Epson L6290 I searched for Mimetypes supported by .
The mimetype commonly supported by the three printers was the image/urf
format.
Since I create the content to be printed as a PDF, I need to change the format before printing. Is there a way to convert the format from pdf
to urf
?