istopwg / ippeveselfcert

IPP Everywhere Printer Self-Certification Tools
https://www.pwg.org/ipp/everywhere.html
Apache License 2.0
21 stars 6 forks source link

Create 1200dpi test files #74

Closed wifiprintguy closed 3 years ago

wifiprintguy commented 3 years ago

HP has some printers that support 1200dpi PWG Raster, but the PWG doesn't have 1200dpi files available (at least not listed on the IPP Everywhere Self-Certification page - https://www.pwg.org/ippeveselfcert/index.html). Add 1200dpi files.

wifiprintguy commented 3 years ago

I've written a script to generate PWG Raster files from the originals (https://ftp.pwg.org/pub/pwg/ipp/examples/originals/) using the "ipptransform" tool built from istopwg/ippsample, and posted these to https://ftp.pwg.org/pub/pwg/ipp/wd/.

The script is attached. It assumes you are running it from a directory containing the originals. make-raster-samples.sh.zip

wifiprintguy commented 3 years ago

The script produces files with a small change to the naming convention: the files produced by the script embeds the colorspace keywords in the name (e.g. "pwg-raster-samples-300dpi/srgb_8/onepage-letter-srgb_8-300dpi.pwg"), whereas the existing files use colorspace substrings that look like the keywords but have some characters that are different from those in the keywords (e.g. "./pwg-raster-samples-300dpi/srgb-8/onepage-letter-srgb-8-300dpi.pwg") which means that the document-tests.test has to have many duplicate tests. However, this naming convention change will likely cause the tools themselves to be broken. I'll file a separate issue to propose we update the .test files to use the new naming convention and we can discuss that there.

michaelrsweet commented 3 years ago

@wifiprintguy There is already a script for this in the "scripts" directory called "make-pwg-samples.sh" :)

wifiprintguy commented 3 years ago

@michaelrsweet I didn't look in istopwg/ippsample but I should have. Oh, well - my bad! I'll file the naming convention change issue over there.