Results of landscape envelope testing

Michael Sweet via ipp <[email protected]> Thu, 16 Jan 2025 14:11:38 -0500
Newsgroups gmane.ietf.ipp
Message-ID <[email protected]>
All,

I did some testing using ippeveprinter to simulate a printer that supported both portrait and landscape US #10 envelopes (4-1/8" x 9-1/2").  The configuration file is attached.



Results:

1. macOS 15.2: Added, with the landscape envelope size showing up as 241.3x104.78mm with hint text of "9.50 by 4.13 inches". Printing produced the expected content size and orientation.

2. Windows 11: Failed to add.  Still investigating.

3. Linux/Ubuntu 24.04.1: Added, extra borderless versions of the envelope sizes even though non-borderless margins are provided.

4. iOS 18.2.1: Shows 241.3 x 104.8 mm envelope as the default paper size, A4 and Letter selectable.

5. Android 14 (default print service): Doesn't show any envelope sizes (just letter and A4)

I didn't have a chance to test with ChromeOS (my Chromebook battery is dead) but I'm expecting something similar to Linux (#3).

________________________
Michael Sweet

_______________________________________________
ipp mailing list
[email protected]
https://www.pwg.org/mailman/listinfo/ipp
landscape.conf (application/octet-stream, 8.8 KB)
#
# Test printer configuration file.
#
# Copyright © 2022 by OpenPrinting.
#
# Licensed under Apache License v2.0.  See the file "LICENSE" for more
# information.
#

ATTR boolean color-supported true

ATTR integer copies-default 1
ATTR rangeOfInteger copies-supported 1-999

ATTR mimeMediaType document-format-default application/octet-stream
ATTR mimeMediaType document-format-supported application/pdf,image/jpeg,image/pwg-raster,image/urf,application/octet-stream

ATTR no-value finishings-col-default
ATTR collection finishings-col-database {
    MEMBER keyword finishing-template none
},{
    MEMBER keyword finishing-template punch
},{
    MEMBER keyword finishing-template punch-dual-top
},{
    MEMBER keyword finishing-template punch-triple-left
},{
    MEMBER keyword finishing-template staple
},{
    MEMBER keyword finishing-template staple-top-left
},{
    MEMBER keyword finishing-template staple-top-right
}
ATTR collection finishings-col-ready {
    MEMBER keyword finishing-template none
},{
    MEMBER keyword finishing-template punch
},{
    MEMBER keyword finishing-template punch-dual-top
},{
    MEMBER keyword finishing-template punch-triple-left
},{
    MEMBER keyword finishing-template staple
},{
    MEMBER keyword finishing-template staple-top-left
},{
    MEMBER keyword finishing-template staple-top-right
}
ATTR keyword finishings-col-supported finishing-template,punching,stitching
ATTR enum finishings-default 3
ATTR enum finishings-ready 3,4,5,20,22,75,78
ATTR enum finishings-supported 3,4,5,20,22,75,78
ATTR keyword finishing-template-supported none,punch,punch-dual-top,punch-triple-left,staple,staple-top-left,staple-top-right
ATTR octetString printer-finisher "index=1;type=puncher;unit=sheets;maxcapacity=20;presentonoff=on;status=0;","index=2;type=stitcher;unit=sheets;maxcapacity=20;presentonoff=on;status=0;"
ATTR text printer-finisher-description "Puncher SN:1234","Stitcher SN:5678"
ATTR rangeOfInteger punching-locations-supported 635-29065
ATTR integer punching-offset-supported 635
ATTR keyword punching-reference-edge-supported left,top
ATTR integer stitching-angle-supported 0,45,90
ATTR rangeOfInteger stitching-locations-supported 635-29065
ATTR keyword stitching-method-supported auto,crimp,wire
ATTR integer stitching-offset-supported 635
ATTR keyword stitching-reference-edge-supported left,right,top

ATTR integer max-page-ranges-supported 1

ATTR integer media-bottom-margin-supported 0,423
ATTR collection media-col-database {
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER integer x-dimension 21590
        MEMBER integer y-dimension 27940
    }
    MEMBER integer media-top-margin 423
},{
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER integer x-dimension 21000
        MEMBER integer y-dimension 29700
    }
    MEMBER integer media-top-margin 423
},{
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER integer x-dimension 10478
        MEMBER integer y-dimension 24130
    }
    MEMBER keyword media-source by-pass-tray
    MEMBER collection media-source-properties {
        MEMBER keyword media-source-feed-direction short-edge-first
        MEMBER enum media-source-feed-orientation 4
    }
    MEMBER integer media-top-margin 423
    MEMBER keyword media-type envelope
},{
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER integer x-dimension 24130
        MEMBER integer y-dimension 10478
    }
    MEMBER keyword media-source by-pass-tray
    MEMBER collection media-source-properties {
        MEMBER keyword media-source-feed-direction long-edge-first
        MEMBER enum media-source-feed-orientation 3
    }
    MEMBER integer media-top-margin 423
    MEMBER keyword media-type envelope
},{
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER rangeOfInteger x-dimension 7620-24130
        MEMBER rangeOfInteger y-dimension 12700-29700
    }
    MEMBER keyword media-source manual
    MEMBER integer media-top-margin 423
},{
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER rangeOfInteger x-dimension 7620-24130
        MEMBER rangeOfInteger y-dimension 12700-29700
    }
    MEMBER keyword media-source by-pass-tray
    MEMBER integer media-top-margin 423
}
ATTR collection media-col-default {
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER integer x-dimension 21590
        MEMBER integer y-dimension 27940
    }
    MEMBER keyword media-source main
    MEMBER integer media-top-margin 423
    MEMBER keyword media-type stationery
}
ATTR collection media-col-ready {
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER integer x-dimension 21590
        MEMBER integer y-dimension 27940
    }
    MEMBER keyword media-source main
    MEMBER integer media-top-margin 423
    MEMBER keyword media-type stationery
},{
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER integer x-dimension 21000
        MEMBER integer y-dimension 29700
    }
    MEMBER keyword media-source alternate
    MEMBER integer media-top-margin 423
    MEMBER keyword media-type stationery
},{
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER integer x-dimension 24130
        MEMBER integer y-dimension 10478
    }
    MEMBER keyword media-source by-pass-tray
    MEMBER collection media-source-properties {
        MEMBER keyword media-source-feed-direction long-edge-first
        MEMBER enum media-source-feed-orientation 3
    }
    MEMBER integer media-top-margin 423
    MEMBER keyword media-type envelope
}
ATTR keyword media-col-supported media-bottom-margin,media-left-margin,media-right-margin,media-size,media-size-name,media-source,media-top-margin,media-type
ATTR keyword media-default na_letter_8.5x11in
ATTR integer media-left-margin-supported 0,423
ATTR keyword media-ready na_letter_8.5x11in,iso_a4_210x297mm
ATTR integer media-right-margin-supported 0,423
ATTR collection media-size-supported {
    MEMBER integer x-dimension 21590
    MEMBER integer y-dimension 27940
},{
    MEMBER integer x-dimension 21000
    MEMBER integer y-dimension 29700
},{
    MEMBER integer x-dimension 10478
    MEMBER integer y-dimension 24130
},{
    MEMBER integer x-dimension 24130
    MEMBER integer y-dimension 10478
},{
    MEMBER rangeOfInteger x-dimension 7620-24130
    MEMBER rangeOfInteger y-dimension 12700-29700
}
ATTR keyword media-source-supported main,alternate,manual,by-pass-tray
ATTR keyword media-supported na_letter_8.5x11in,na_legal_8.5x14in,na_number-10_4.125x9.5in,na_number-10.landscape_9.5x4.125in,iso_a4_210x297mm,custom_min_3x5in,custom_max_9.5x14in
ATTR integer media-top-margin-supported 0,423
ATTR keyword media-type-supported envelope,stationery,stationery-letterhead

ATTR enum orientation-requested-default 3
ATTR enum orientation-requested-supported 3,4,5,6,7

ATTR keyword output-bin-default face-down
ATTR keyword output-bin-supported face-down

ATTR keyword overrides-supported document-numbers,media,media-col,pages

ATTR boolean page-ranges-supported true

ATTR integer pages-per-minute 20
ATTR integer pages-per-minute-color 10

ATTR keyword print-color-mode-default auto
ATTR keyword print-color-mode-supported auto,color,monochrome

ATTR keyword print-content-optimize-default auto
ATTR keyword print-content-optimize-supported auto,graphic,photo,text,text-and-graphic

ATTR enum print-quality-default 4
ATTR enum print-quality-supported 3,4,5

ATTR text printer-make-and-model "Landscape Envelope Printer"

ATTR resolution printer-resolution-default 600dpi
ATTR resolution printer-resolution-supported 300dpi,600dpi,1200x600dpi

ATTR keyword sides-default one-sided
ATTR keyword sides-supported one-sided,two-sided-long-edge,two-sided-short-edge

ATTR resolution pwg-raster-document-resolution-supported 300dpi,600dpi
ATTR keyword pwg-raster-document-sheet-back normal
ATTR keyword pwg-raster-document-type-supported black_1,black_8,sgray_8,srgb_8

ATTR keyword urf-supported V1.5,RS300-600,W8,SRGB24