Revision 1686, 0.6 kB
(checked in by jalet, 20 years ago)
|
Improved the ESC/P2 analyzer so that more GhostScript? devices are supported
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
Rev | Line | |
---|
[1588] | 1 | #! /bin/sh |
---|
| 2 | |
---|
| 3 | echo -n "Generating testsuite..." |
---|
[1589] | 4 | /bin/rm -f testsuite.* master2.ps |
---|
| 5 | gunzip <master.ps.gz >master2.ps |
---|
[1686] | 6 | for device in laserjet ljet3 ljet4 lj5gray lj5mono pxlmono pxlcolor pdfwrite pswrite psgray psmono psrgb epson epsonc eps9mid eps9high stcolor st800 escp escpc ; do |
---|
[1589] | 7 | gs -dQUIET -dBATCH -dNOPAUSE -sOutputFile="testsuite.$device" -sDEVICE="$device" master2.ps ; |
---|
[1588] | 8 | done |
---|
| 9 | echo |
---|
| 10 | |
---|
| 11 | echo -n "File master.ps should be 16 pages long, result is : " |
---|
[1589] | 12 | python ../pykota/pdlanalyzer.py master2.ps |
---|
[1588] | 13 | |
---|
| 14 | echo "Analyzing testsuite..." |
---|
| 15 | for file in testsuite.* ; do |
---|
| 16 | echo -n "$file ===> " && python ../pykota/pdlanalyzer.py "$file" ; |
---|
| 17 | done |
---|