.rtf support - getting IPP Read Error! - critical issue

Helge Blischke h.blischke at srz.de
Fri Jun 1 07:05:27 PDT 2007


Inderjit Gill wrote:
> Hi,
> 
> This is the error we are getting when trying to send rtf file through CUPS to fax server. The reason we have to use rtf is due the restriction of fax server (rightfax) which accepts faxnumber in embedded codes. If we send pdf it goes through well. The error is below:
> 
> D [24/May/2007:09:49:03 +0500] AcceptClient() 4 from virgil:631.
> D [24/May/2007:09:49:03 +0500] ReadClient() 4 POST /printers/rightfax HTTP/1.1
> E [24/May/2007:09:49:03 +0500] ReadClient() 4 IPP Read Error!
> D [24/May/2007:09:49:03 +0500] CloseClient() 4
> D [24/May/2007:09:49:05 +0500] AcceptClient() 4 from virgil:631.
> D [24/May/2007:09:49:05 +0500] ReadClient() 4 POST /printers/rightfax HTTP/1.1
> E [24/May/2007:09:49:05 +0500] print_job: Unsupported format 'application/rtf'!
> D [24/May/2007:09:49:05 +0500] Sending error: client-error-document-format-not-supported
> D [24/May/2007:09:49:10 +0500] mallinfo: arena = 1513456, used = 1486920, free = 25976
> D [24/May/2007:09:49:24 +0500] CloseClient() 4
> D [24/May/2007:09:50:10 +0500] mallinfo: arena = 1513456, used = 1486920, free = 25976
> D [24/May/2007:09:50:27 +0500] AcceptClient() 4 from 10.5.27.54:631.
> D [24/May/2007:09:50:27 +0500] ReadClient() 4 GET /printers/rightfax HTTP/1.1
> D [24/May/2007:09:50:27 +0500] CGI /opt/sfw/cups/lib/cups/cgi-bin/printers.cgi started - PID = 17200
> I [24/May/2007:09:50:27 +0500] Started "/opt/sfw/cups/lib/cups/cgi-bin/printers.cgi" (pid=17200)
> D [24/May/2007:09:50:27 +0500] SendCommand() 4 file=7
> D [24/May/2007:09:50:27 +0500] AcceptClient() 6 from 127.0.0.1:631.
> 
> 
> It is pointing out to Unsupported format 'application/rtf'!, any ideas?
> 
> This is what we had tried:
> So we need to try to send rtf file. For that we have un-commented the following lines mentioned below
> In mime.convs and mime.types files under /opt/sfw/cups/etc/cups so that it sends the raw file as it is without converting it.
> 
> The line in mime.convs is:
> application/octet-stream     application/vnd.cups-raw     0     -
> 
> The line in mime.types is:
> application/octet-stream
> 
> Then we restarted CUPS.
> 
> But we are still getting the same issue.
> Any ideas?
> 
> Thanks in advance
> Inder

As OpenOffice.org (>= 2.0x) seems to successfully open RTF
files, you could try to use my experimental officetops filter
to convert RTF to PostScript. Contact me offline if you are interested
in the filter script and the manual.

Helge


-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list