istopwg / ippsample

IPP sample implementations.
http://istopwg.github.io/ippsample
Apache License 2.0
225 stars 83 forks source link

Missing printing attributes for Apple Raster (URF) #261

Closed Xerxekyran closed 2 years ago

Xerxekyran commented 2 years ago

I am trying to simulate a printer that only supports Apple Raster (image/urf) as its document format and print to it. I thought that I was facing a cups-filters bug (https://github.com/OpenPrinting/cups-filters/issues/469) but as it turns out, my used ippsample server is not setting all needed attributes for this case. Till Kamppeter told me that the urf-supported needs to be set for example like this:

urf-supported (1setOf keyword) = CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300-600,SRGB24,OB10,W8,DEVW8,DEVRGB24,ADOBERGB24,DM3,FN3,IS1-2,V1.4

I am starting my server with

server/ippserver -C /rw -k -d ./data -vv

where the configuration file looks like this:

driverless.conf.txt

Running ipptool -tv <URI> get-printer-attributes.test > attrs.txt resulted in the following file:

attrs.txt

Do you need more information on this issue or am I maybe doing something wrong here?

Xerxekyran commented 2 years ago

After digging into the source code of the server implementation I found out that I need the urf-supported keyword with certain values in the configuration file:

ATTR keyword urf-supported CP1,MT1-2-3-4-5-6-8-9-10-11-12-13,RS300,SRGB24,W8,DM1,IS1-5-7,V1.4

Closing this issue as it is now working as intended.