Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

lp + ipp:// remote printer: lp defaults to document-format text/plain

807557Mar 24 2009 — edited Nov 13 2009
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2009
Added on Mar 24 2009
1 comment
636 views