Changeset 1702 for pykota/trunk

Show
Ignore:
Timestamp:
09/04/04 16:18:55 (20 years ago)
Author:
jalet
Message:

Support for more laserjet models added.

Location:
pykota/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/pdlanalyzer.py

    r1701 r1702  
    2222# 
    2323# $Log$ 
     24# Revision 1.41  2004/09/04 14:18:55  jalet 
     25# Support for more laserjet models added. 
     26# 
    2427# Revision 1.40  2004/09/04 14:01:47  jalet 
    2528# Support for PCL3 (HP Deskjets) added to generic PDL parser 
     
    789792        if sdata.startswith("\033E\033") or \ 
    790793           (sdata.startswith("\033*rbC") and (not edata[-3:] == "\f\033@")) or \ 
     794           sdata.startswith("\033%8\033") or \ 
    791795           (sdata.find("\033%-12345X") != -1) : 
    792796            return 1 
  • pykota/trunk/tests/runtest.sh

    r1701 r1702  
    33echo -n "Generating testsuite..." 
    44gunzip <master.ps.gz >master2.ps 
    5 for device in lj250 lj3100sw lj4dith lj4dithp ljet2p ljet3d ljet4d ljet4pjl ljetplus laserjet ljet3 ljet4 lj5gray lj5mono pxlmono pxlcolor pdfwrite pswrite psgray psmono psrgb epson epsonc eps9mid eps9high stcolor st800 escp escpc pcl3 cdeskjet cdj1600 cdj500 cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono dj505j djet500 djet500c hpdj1120c hpdj310 hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c hpdj510 hpdj520 hpdj540 hpdj550c hpdj560c hpdj600 hpdj660c hpdj670c hpdj680c hpdj690c hpdj850c hpdj855c hpdj870c hpdj890c hpdjplus hpdjportable ; do 
     5for device in lj250 lj4dithp ljet2p ljet4pjl ljetplus laserjet ljet3 ljet4 lj5gray lj5mono pxlmono pxlcolor pdfwrite pswrite psgray psmono psrgb epson epsonc eps9mid eps9high stcolor st800 escp escpc pcl3 cdeskjet cdj1600 cdj500 cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono dj505j djet500 djet500c hpdj1120c hpdj310 hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c hpdj510 hpdj520 hpdj540 hpdj550c hpdj560c hpdj600 hpdj660c hpdj670c hpdj680c hpdj690c hpdj850c hpdj855c hpdj870c hpdj890c hpdjplus hpdjportable ; do 
    66    if ! [ -f "testsuite.$device" ]  ; then 
    77        gs -dQUIET -dBATCH -dNOPAUSE -sOutputFile="testsuite.$device" -sDEVICE="$device" master2.ps ;