[cups.development] ERROR: [Job ???] Request file type is text/plain. (CUPS on ARM architecture)
Michael Sweet
msweet at apple.com
Tue Apr 19 15:24:29 PDT 2011
The PDF filters bundled with Ubuntu can also generate raster for text (and PDF, of course).
On Apr 19, 2011, at 3:23 PM, abhinit ambastha wrote:
> I tried printing images, and it was successful!
>
> Is there any other way to create rasters from text/graphics?
>
> I'm using QT4.3 libraries.
>
> On Wed, Apr 20, 2011 at 3:48 AM, Michael Sweet <msweet at apple.com> wrote:
> On Apr 19, 2011, at 3:08 PM, abhinit ambastha wrote:
>> Oh, k... Does that mean I'll have to cross compile ghostscript? For I'm facing problems with that.
>
> Yes, Ghostscript is the usual path for that.
>
>> Can I print images though?? coz they'll use imagetoraster?
>
> Yes, images will print as long as you cross-compiled with any of the usual image libraries (libjpeg, libpng, etc.)
>
>>
>> On Wed, Apr 20, 2011 at 3:32 AM, Michael Sweet <msweet at apple.com> wrote:
>> No filter to convert PostScript to raster, however...
>>
>> On Apr 19, 2011, at 2:28 PM, abhinit ambastha wrote:
>>
>>> Hi Michael,
>>> But Filters are there in /usr/lib/cups/filters:
>>>
>>> [root at FriendlyARM /]# ls /usr/lib/cups/filter/
>>> gziptoany imagetops pdftops rastertodymo rastertohp texttops
>>> hpgltops imagetoraster pstops rastertoepson rastertolabel
>>>
>>> [root at FriendlyARM /]# lpstat -t
>>> scheduler is running
>>> system default destination: Deskjet
>>> device for Deskjet: ///dev/lp0
>>> Deskjet accepting requests since Tue Apr 19 23:03:28 2011
>>> printer Deskjet is idle. enabled since Tue Apr 19 23:03:28 2011
>>>
>>> please help.
>>>
>>>
>>> On Wed, Apr 20, 2011 at 2:47 AM, Michael Sweet <msweet at apple.com> wrote:
>>> You don't have any filters installed on your ARM system. Thus, CUPS does not know how to print the text files.
>>>
>>>
>>> On Apr 19, 2011, at 2:04 PM, abhinit ambastha wrote:
>>>
>>>> Hi all,
>>>> I'm trying to run CUPS on ARM architecture, The scheduler starts, I added the printer, but I'm not able to print anything to my Deskjet printer. No job-ID's are creater. Please help, Here's my error log:
>>>>
>>>> I [19/Apr/2011:23:03:26 +0000] Listening to ::1:631 (IPv6)
>>>> I [19/Apr/2011:23:03:26 +0000] Listening to 127.0.0.1:631 (IPv4)
>>>> I [19/Apr/2011:23:03:26 +0000] Listening to /var/run/cups/cups.sock (Domain)
>>>> I [19/Apr/2011:23:03:26 +0000] Remote access is disabled.
>>>> I [19/Apr/2011:23:03:26 +0000] Loaded configuration file "/etc/cups/cupsd.conf"
>>>> I [19/Apr/2011:23:03:26 +0000] Using default TempDir of /var/spool/cups/tmp...
>>>> I [19/Apr/2011:23:03:26 +0000] Configured for up to 100 clients.
>>>> I [19/Apr/2011:23:03:26 +0000] Allowing up to 100 client connections per host.
>>>> I [19/Apr/2011:23:03:26 +0000] Using policy "default" as the default!
>>>> I [19/Apr/2011:23:03:26 +0000] Full reload is required.
>>>> I [19/Apr/2011:23:03:26 +0000] Loaded MIME database from '/etc/cups': 35 types, 37 filters...
>>>> I [19/Apr/2011:23:03:26 +0000] Full reload complete.
>>>> I [19/Apr/2011:23:03:26 +0000] Cleaning out old temporary files in "/var/spool/cups/tmp"...
>>>> E [19/Apr/2011:23:03:26 +0000] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
>>>> I [19/Apr/2011:23:03:26 +0000] Listening to 127.0.0.1:631 on fd 4...
>>>> I [19/Apr/2011:23:03:26 +0000] Listening to /var/run/cups/cups.sock on fd 6...
>>>> I [19/Apr/2011:23:03:26 +0000] Resuming new connection processing...
>>>> E [19/Apr/2011:23:03:28 +0000] CUPS-Add-Modify-Printer: Unauthorized
>>>> I [19/Apr/2011:23:03:28 +0000] Setting Deskjet printer-is-accepting-jobs to 1 (was 1.)
>>>> I [19/Apr/2011:23:03:28 +0000] Setting Deskjet printer-state to 3 (was 5.)
>>>> I [19/Apr/2011:23:03:28 +0000] Saving printers.conf...
>>>> I [19/Apr/2011:23:03:28 +0000] Printer "Deskjet" modified by "root".
>>>> I [19/Apr/2011:23:03:28 +0000] Setting Deskjet device-uri to "file:///dev/lp0" (was "file:///dev/lp0".)
>>>> I [19/Apr/2011:23:03:29 +0000] Saving printers.conf...
>>>> I [19/Apr/2011:23:03:29 +0000] Printer "Deskjet" modified by "root".
>>>> I [19/Apr/2011:23:03:29 +0000] Saving printers.conf...
>>>> I [19/Apr/2011:23:03:29 +0000] Printer "Deskjet" modified by "root".
>>>> E [19/Apr/2011:23:15:31 +0000] CUPS-Set-Default: Unauthorized
>>>> I [19/Apr/2011:23:15:31 +0000] Saving printers.conf...
>>>> I [19/Apr/2011:23:15:31 +0000] Saving classes.conf...
>>>> I [19/Apr/2011:23:15:31 +0000] Default destination set to "Deskjet" by "root".
>>>> I [19/Apr/2011:23:15:51 +0000] [Job ???] Request file type is text/plain.
>>>> I [19/Apr/2011:23:53:24 +0000] [Job ???] Request file type is text/plain.
>>>> I [19/Apr/2011:23:56:14 +0000] Started "/usr/lib/cups/daemon/cups-deviced" (pid=797)
>>>> E [20/Apr/2011:00:29:22 +0000] Unknown SystemGroup "lpadmin sys root" on line 14, ignoring!
>>>> I [20/Apr/2011:00:29:22 +0000] Listening to ::1:631 (IPv6)
>>>> I [20/Apr/2011:00:29:22 +0000] Listening to 127.0.0.1:631 (IPv4)
>>>> I [20/Apr/2011:00:29:22 +0000] Listening to /var/run/cups/cups.sock (Domain)
>>>> I [20/Apr/2011:00:29:22 +0000] Remote access is disabled.
>>>> I [20/Apr/2011:00:29:22 +0000] Loaded configuration file "/etc/cups/cupsd.conf"
>>>> I [20/Apr/2011:00:29:22 +0000] Using default TempDir of /var/spool/cups/tmp...
>>>> I [20/Apr/2011:00:29:22 +0000] Configured for up to 100 clients.
>>>> I [20/Apr/2011:00:29:22 +0000] Allowing up to 100 client connections per host.
>>>> I [20/Apr/2011:00:29:22 +0000] Using policy "default" as the default!
>>>> I [20/Apr/2011:00:29:22 +0000] Full reload is required.
>>>> I [20/Apr/2011:00:29:22 +0000] Saving job cache file "/var/cache/cups/job.cache"...
>>>> I [20/Apr/2011:00:29:22 +0000] Loaded MIME database from '/etc/cups': 35 types, 37 filters...
>>>> I [20/Apr/2011:00:29:22 +0000] Loading job cache file "/var/cache/cups/job.cache"...
>>>> I [20/Apr/2011:00:29:22 +0000] Full reload complete.
>>>> E [20/Apr/2011:00:29:22 +0000] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
>>>> I [20/Apr/2011:00:29:22 +0000] Listening to 127.0.0.1:631 on fd 3...
>>>> I [20/Apr/2011:00:29:22 +0000] Listening to /var/run/cups/cups.sock on fd 5...
>>>> I [20/Apr/2011:00:29:22 +0000] Resuming new connection processing...
>>>> I [20/Apr/2011:00:30:03 +0000] [Job ???] Request file type is text/plain.
>>>> I [20/Apr/2011:00:31:04 +0000] [Job ???] Request file type is text/plain.
>>>> I [20/Apr/2011:00:32:57 +0000] [Job ???] Request file type is text/plain.
>>>> E [20/Apr/2011:00:40:49 +0000] Unknown SystemGroup "lpadmin sys root" on line 14, ignoring!
>>>> I [20/Apr/2011:00:40:49 +0000] Listening to ::1:631 (IPv6)
>>>> I [20/Apr/2011:00:40:49 +0000] Listening to 127.0.0.1:631 (IPv4)
>>>> I [20/Apr/2011:00:40:49 +0000] Listening to /var/run/cups/cups.sock (Domain)
>>>> I [20/Apr/2011:00:40:49 +0000] Remote access is disabled.
>>>> I [20/Apr/2011:00:40:49 +0000] Loaded configuration file "/etc/cups/cupsd.conf"
>>>> I [20/Apr/2011:00:40:49 +0000] Using default TempDir of /var/spool/cups/tmp...
>>>> I [20/Apr/2011:00:40:49 +0000] Configured for up to 100 clients.
>>>> I [20/Apr/2011:00:40:49 +0000] Allowing up to 100 client connections per host.
>>>> I [20/Apr/2011:00:40:49 +0000] Using policy "default" as the default!
>>>> I [20/Apr/2011:00:40:49 +0000] Full reload is required.
>>>> I [20/Apr/2011:00:40:49 +0000] Saving job cache file "/var/cache/cups/job.cache"...
>>>> I [20/Apr/2011:00:40:49 +0000] Loaded MIME database from '/etc/cups': 35 types, 37 filters...
>>>> I [20/Apr/2011:00:40:49 +0000] Loading job cache file "/var/cache/cups/job.cache"...
>>>> I [20/Apr/2011:00:40:49 +0000] Full reload complete.
>>>> E [20/Apr/2011:00:40:49 +0000] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
>>>> I [20/Apr/2011:00:40:49 +0000] Listening to 127.0.0.1:631 on fd 3...
>>>> I [20/Apr/2011:00:40:49 +0000] Listening to /var/run/cups/cups.sock on fd 5...
>>>> I [20/Apr/2011:00:40:49 +0000] Resuming new connection processing...
>>>> I [20/Apr/2011:00:41:07 +0000] [Job ???] Request file type is text/plain.
>>>> I [20/Apr/2011:00:44:05 +0000] Started "/usr/lib/cups/daemon/cups-deviced" (pid=926)
>>>> I [20/Apr/2011:00:45:21 +0000] Started "/usr/lib/cups/daemon/cups-deviced" (pid=953)
>>>> I [20/Apr/2011:00:47:07 +0000] Started "/usr/lib/cups/daemon/cups-deviced" (pid=978)
>>>> E [20/Apr/2011:00:57:29 +0000] Unknown SystemGroup "lpadmin sys root" on line 14, ignoring!
>>>> I [20/Apr/2011:00:57:29 +0000] Listening to ::1:631 (IPv6)
>>>> I [20/Apr/2011:00:57:29 +0000] Listening to 127.0.0.1:631 (IPv4)
>>>> I [20/Apr/2011:00:57:29 +0000] Listening to /var/run/cups/cups.sock (Domain)
>>>> I [20/Apr/2011:00:57:29 +0000] Remote access is disabled.
>>>> I [20/Apr/2011:00:57:29 +0000] Loaded configuration file "/etc/cups/cupsd.conf"
>>>> I [20/Apr/2011:00:57:29 +0000] Using default TempDir of /var/spool/cups/tmp...
>>>> I [20/Apr/2011:00:57:29 +0000] Configured for up to 100 clients.
>>>> I [20/Apr/2011:00:57:29 +0000] Allowing up to 100 client connections per host.
>>>> I [20/Apr/2011:00:57:29 +0000] Using policy "default" as the default!
>>>> I [20/Apr/2011:00:57:29 +0000] Full reload is required.
>>>> I [20/Apr/2011:00:57:29 +0000] Saving job cache file "/var/cache/cups/job.cache"...
>>>> I [20/Apr/2011:00:57:29 +0000] Loaded MIME database from '/etc/cups': 35 types, 37 filters...
>>>> I [20/Apr/2011:00:57:29 +0000] Loading job cache file "/var/cache/cups/job.cache"...
>>>> I [20/Apr/2011:00:57:29 +0000] Full reload complete.
>>>> E [20/Apr/2011:00:57:29 +0000] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
>>>> I [20/Apr/2011:00:57:29 +0000] Listening to 127.0.0.1:631 on fd 3...
>>>> I [20/Apr/2011:00:57:29 +0000] Listening to /var/run/cups/cups.sock on fd 5...
>>>> I [20/Apr/2011:00:57:29 +0000] Resuming new connection processing...
>>>> E [20/Apr/2011:00:58:16 +0000] Unknown SystemGroup "lpadmin sys root" on line 14, ignoring!
>>>> I [20/Apr/2011:00:58:16 +0000] Listening to ::1:631 (IPv6)
>>>> I [20/Apr/2011:00:58:16 +0000] Listening to 127.0.0.1:631 (IPv4)
>>>> I [20/Apr/2011:00:58:16 +0000] Listening to /var/run/cups/cups.sock (Domain)
>>>> I [20/Apr/2011:00:58:16 +0000] Remote access is disabled.
>>>> I [20/Apr/2011:00:58:16 +0000] Loaded configuration file "/etc/cups/cupsd.conf"
>>>> I [20/Apr/2011:00:58:16 +0000] Using default TempDir of /var/spool/cups/tmp...
>>>> I [20/Apr/2011:00:58:16 +0000] Configured for up to 100 clients.
>>>> I [20/Apr/2011:00:58:16 +0000] Allowing up to 100 client connections per host.
>>>> I [20/Apr/2011:00:58:16 +0000] Using policy "default" as the default!
>>>> I [20/Apr/2011:00:58:16 +0000] Full reload is required.
>>>> I [20/Apr/2011:00:58:16 +0000] Saving job cache file "/var/cache/cups/job.cache"...
>>>> I [20/Apr/2011:00:58:16 +0000] Loaded MIME database from '/etc/cups': 35 types, 37 filters...
>>>> I [20/Apr/2011:00:58:16 +0000] Loading job cache file "/var/cache/cups/job.cache"...
>>>> I [20/Apr/2011:00:58:16 +0000] Full reload complete.
>>>> E [20/Apr/2011:00:58:16 +0000] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
>>>> I [20/Apr/2011:00:58:16 +0000] Listening to 127.0.0.1:631 on fd 3...
>>>> I [20/Apr/2011:00:58:16 +0000] Listening to /var/run/cups/cups.sock on fd 5...
>>>> I [20/Apr/2011:00:58:16 +0000] Resuming new connection processing...
>>>> I [20/Apr/2011:00:58:34 +0000] [Job ???] Request file type is text/plain.
>>>> E [20/Apr/2011:02:04:23 +0000] Unknown SystemGroup "lpadmin root root" on line 14, ignoring!
>>>> I [20/Apr/2011:02:04:23 +0000] Listening to ::1:631 (IPv6)
>>>> I [20/Apr/2011:02:04:23 +0000] Listening to 127.0.0.1:631 (IPv4)
>>>> I [20/Apr/2011:02:04:23 +0000] Listening to /var/run/cups/cups.sock (Domain)
>>>> I [20/Apr/2011:02:04:23 +0000] Remote access is disabled.
>>>> I [20/Apr/2011:02:04:23 +0000] Loaded configuration file "/etc/cups/cupsd.conf"
>>>> I [20/Apr/2011:02:04:23 +0000] Using default TempDir of /var/spool/cups/tmp...
>>>> I [20/Apr/2011:02:04:23 +0000] Configured for up to 100 clients.
>>>> I [20/Apr/2011:02:04:23 +0000] Allowing up to 100 client connections per host.
>>>> I [20/Apr/2011:02:04:23 +0000] Using policy "default" as the default!
>>>> I [20/Apr/2011:02:04:23 +0000] Full reload is required.
>>>> I [20/Apr/2011:02:04:23 +0000] Saving job cache file "/var/cache/cups/job.cache"...
>>>> I [20/Apr/2011:02:04:23 +0000] Loaded MIME database from '/etc/cups': 35 types, 37 filters...
>>>> I [20/Apr/2011:02:04:23 +0000] Loading job cache file "/var/cache/cups/job.cache"...
>>>> I [20/Apr/2011:02:04:23 +0000] Full reload complete.
>>>> E [20/Apr/2011:02:04:23 +0000] Unable to open listen socket for address ::1:631 - Address family not supported by protocol.
>>>> I [20/Apr/2011:02:04:23 +0000] Listening to 127.0.0.1:631 on fd 3...
>>>> I [20/Apr/2011:02:04:23 +0000] Listening to /var/run/cups/cups.sock on fd 5...
>>>> I [20/Apr/2011:02:04:23 +0000] Resuming new connection processing...
>>>> I [20/Apr/2011:02:04:51 +0000] [Job ???] Request file type is text/plain.
>>>>
>>>> I get this error whenever I try to print a file like:
>>>>
>>>> [root at FriendlyARM /]# lp ./abhi.txt
>>>> lp: Unsupported format 'text/plain'!
>>>>
>>>> --
>>>> Yours sincerely,
>>>> Abhinit Kumar Ambastha
>>>> +91 9677153227
>>>> abhinit.ambastha at gmail.com
>>>> _______________________________________________
>>>> cups-dev mailing list
>>>> cups-dev at easysw.com
>>>> http://lists.easysw.com/mailman/listinfo/cups-dev
>>>
>>> ________________________________________________________________________
>>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>>>
>>>
>>> _______________________________________________
>>> cups-dev mailing list
>>> cups-dev at easysw.com
>>> http://lists.easysw.com/mailman/listinfo/cups-dev
>>>
>>>
>>>
>>>
>>> --
>>> Yours sincerely,
>>> Abhinit Kumar Ambastha
>>> +91 9677153227
>>> abhinit.ambastha at gmail.com
>>> _______________________________________________
>>> cups-dev mailing list
>>> cups-dev at easysw.com
>>> http://lists.easysw.com/mailman/listinfo/cups-dev
>>
>> ________________________________________________________________________
>> Michael Sweet, Senior Printing System Engineer, PWG Chair
>>
>>
>> _______________________________________________
>> cups-dev mailing list
>> cups-dev at easysw.com
>> http://lists.easysw.com/mailman/listinfo/cups-dev
>>
>>
>>
>>
>> --
>> Yours sincerely,
>> Abhinit Kumar Ambastha
>> +91 9677153227
>> abhinit.ambastha at gmail.com
>> _______________________________________________
>> cups-dev mailing list
>> cups-dev at easysw.com
>> http://lists.easysw.com/mailman/listinfo/cups-dev
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>
>
> _______________________________________________
> cups-dev mailing list
> cups-dev at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-dev
>
>
>
>
> --
> Yours sincerely,
> Abhinit Kumar Ambastha
> +91 9677153227
> abhinit.ambastha at gmail.com
> _______________________________________________
> cups-dev mailing list
> cups-dev at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-dev
________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20110419/a7f79a0a/attachment.html>
More information about the cups-devel
mailing list