Hi,
using the stock Solaris print client, i just wanted to connect two Solaris 10 05/08 boxes to a printer that is served by a central CUPS server. Printer is named "test".
# lpadmin -p test -s ipp://printsrv/printers/test
Now when i print to this printer from Solaris, lp always declares the content to be text/plain (can be seen in ngrep et al. as well as on the CUPS server in the control file), no matter whether i send plain text, postscript output, or other files. Thus, postscript files for example are printed as raw postscript source.
lp from CUPS (on Linux and FreeBSD) uses application/octet-stream instead, whereby CUPS on the server side seems to figure out the correct MIME type. With Solaris lp I can override the document-format by using the -T option to lp, but IMHO that's just a workaround.
Is there any way to set the default document-format that is being used by lp (when printing to ipp://)? Why should lp declare documents to be text/plain when in fact they aren't?
Sebastian