hex code in file, result: client-error-document-format-not-supported

Bernd Krumböck krumboeck at universalnet.at
Fri Jun 23 02:43:13 PDT 2006


Clayton Smith wrote:

> Ah! I figured it out:
> lp -o raw -dmy_printer my_file
> 
> 
>> I am trying to send a file to a sticker printer but it requires me to
>> send 0x02/^B in the file.
>>
>> command:
>> lp -dmy_printer my_file
>>
>> Error:
>> lp: unable to print file: client-error-document-format-not-supported
>>
>> Version information:
>> libgnomecups-0.1.12-5
>> cups-libs-1.1.22-0.rc1.9.10
>> hal-cups-utils-0.5.2-8
>> cups-1.1.22-0.rc1.9.10
>>
>> Setting it to accept raw did not seem to have any affect.
>>
>> Clayton

If you don't want to use -o raw every time you can change this behavior in
mime.convs:

########################################################################
#
# Raw filter...
#
# Uncomment the following filter to allow printing of arbitrary files
# without the -oraw option.
#

#application/octet-stream       application/vnd.cups-raw        0       -



best regards!
Bernd





More information about the cups mailing list