Skip to content

IPP Everywhere Self-Certification Issue with CD/DVD Media #104

Description

@MoriMasashi

Hi, Epson’s consumer Printer with CD/DVD media fails the "I-10. Get-Printer-Attributes Operation (default)" test in "ipp-tests.sh".

I-10. Get-Printer-Attributes Operation (default)                     [FAIL]
        RECEIVED: 11392 bytes in response
        status-code = successful-ok (successful-ok)
        EXPECTED: media-ready WITH-ALL-VALUES /^(choice(_((custom|na|asme|roc|oe)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])mm)){2,}|(custom|na|asme|roc|oe)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])mm|roll_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9]|0)(in|mm))$/
        GOT: media-ready="iso_a4_210x297mm"
        GOT: media-ready="oe_photo-l_3.5x5in"
        GOT: media-ready="disc_12cm_18x120mm"


This issue is that the Media name using the 'disc_' prefix is not allowed in the Regular expressions defined by “MEDIA_REGEX” and “MEDIA_READY_REGEX”.

<ipp-tests.test>
line 45

# Regular expressions for PWG media size names (eek!)
#
# MEDIA_REGEX is for supported media and MEDIA_READY_REGEX is for ready media
# where the long dimension can be 0 for roll-fed media.
#
# Generated with help from: http://abnf.msweet.org/
DEFINE MEDIA_REGEX "/^(choice(_((custom|na|asme|roc|oe|roll)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])x([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om|roll)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])x([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])mm)){2,}|(custom|na|asme|roc|oe|roll)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])x([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om|roll)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])x([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])mm)$$/"
 
DEFINE MEDIA_READY_REGEX "/^(choice(_((custom|na|asme|roc|oe)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])x([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])x([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])mm)){2,}|(custom|na|asme|roc|oe)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])x([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om)_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])x([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])mm|roll_[a-z0-9][-.a-z0-9]*_([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9])x([1-9][0-9]*(\.[0-9]*[1-9])?|0\.[0-9]*[1-9]|0)(in|mm))$$/"
 

Please add this 'disc_' prefix to IPP Everywhere Printer Self-Certification Tools so our consumer Printer with CD/DVD printig can pass the test.

Thank you for your attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions