Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Media-Size > y-dimension #59

Open
Thunder8Storm opened this issue Mar 28, 2018 · 0 comments
Open

Question: Media-Size > y-dimension #59

Thunder8Storm opened this issue Mar 28, 2018 · 0 comments

Comments

@Thunder8Storm
Copy link

Thunder8Storm commented Mar 28, 2018

I think my printer wants the y-dimension [ 1270, 100000 ].
But I can't set an array as x-/y-dimension, it will be converted to integer 0.
You can find the complete output for get-Attributes below.
I can send the print-job the printer returns "successful-ok" but the job stays with processing & reason job-incoming
Maybe I make something else wrong.
It's a Brother QL-720NW thermal printer with a 62mm roll as medium.

My Print attributes are:

"finishings": "trim-after-pages",
"media": "roll_max_62x1000mm",
"media-col": {
"media-type": "roll",
"media-size": {
"x-dimension": 6200,
"y-dimension": 10000
},
"media-bottom-margin": 303,
"media-left-margin": 154,
"media-right-margin": 154,
"media-top-margin": 303
}
}

Any tips?

{
"version": "2.0",
"statusCode": "successful-ok",
"id": 91460598,
"operation-attributes-tag": {
"attributes-charset": "utf-8",
"attributes-natural-language": "en-us"
},
"printer-attributes-tag": {
"copies-default": 1,
"finishings-default": "trim-after-pages",
"media-default": "om_brother-label-29x90mm_29x90mm",
"media-col-default": {
"media-type": "labels",
"media-size": {
"x-dimension": 2900,
"y-dimension": 9000
},
"media-bottom-margin": 303,
"media-left-margin": 154,
"media-right-margin": 154,
"media-top-margin": 303,
"media-source": "main",
"media-source-properties": {
"media-source-feed-direction": "short-edge-first",
"media-source-feed-orientation": 3
}
},
"orientation-requested-default": "portrait",
"output-bin-default": "face-down",
"output-mode-default": "monochrome",
"print-quality-default": "normal",
"printer-resolution-default": [
300,
300,
"dpi"
],
"sides-default": "one-sided",
"print-color-mode-default": "auto",
"print-content-optimize-default": "auto",
"copies-supported": [
1,
1
],
"finishings-supported": [
"none",
"trim",
"trim-after-pages",
"trim-after-job"
],
"media-supported": [
"om_brother-label-29x90mm_29x90mm",
"om_brother-label-38x90mm_38x90mm",
"om_brother-label-29x62mm_29x62mm",
"om_brother-label-62x100mm_62x100mm",
"om_brother-label-17x54mm_17x54mm",
"om_brother-label-17x87mm_17x87mm",
"om_brother-label-58x58mm_58x58mm",
"om_brother-label-29x42mm_29x42mm",
"om_brother-label-29x52mm_29x52mm",
"om_brother-label-23x23mm_23x23mm",
"om_brother-label-39x48mm_39x48mm",
"om_brother-label-12x12mm_12x12mm",
"om_brother-label-24x24mm_24x24mm",
"om_brother-label-33x48mm_32.9x47.62mm",
"om_brother-label-60x86mm_60x86mm",
"roll_min_12x12.7mm",
"roll_max_62x1000mm",
"custom_min_12x12.7mm",
"custom_max_62x1000mm"
],
"media-col-supported": [
"media-type",
"media-size",
"media-top-margin",
"media-left-margin",
"media-right-margin",
"media-bottom-margin",
"media-source"
],
"orientation-requested-supported": "portrait",
"output-bin-supported": "face-down",
"output-mode-supported": [
"monochrome",
"auto",
"auto-monochrome"
],
"print-quality-supported": [
"normal",
"high"
],
"printer-resolution-supported": [
300,
300,
"dpi"
],
"sides-supported": "one-sided",
"print-color-mode-supported": [
"monochrome",
"auto",
"auto-monochrome"
],
"print-content-optimize-supported": "auto",
"generated-natural-language-supported": "en",
"printer-uri-supported": "ipp://192.168.2.25/ipp/print",
"uri-security-supported": "none",
"uri-authentication-supported": "none",
"printer-name": "en\u001eBRN008077585105",
"printer-location": "en\u001e",
"printer-info": "en\u001eBrother QL-720NW",
"printer-make-and-model": "en\u001eBrother QL-720NW",
"printer-state": "idle",
"printer-state-reasons": "none",
"ipp-versions-supported": [
"1.0",
"1.1",
"2.0"
],
"operations-supported": [
"Print-Job",
"Validate-Job",
"Create-Job",
"Send-Document",
"Cancel-Job",
"Get-Job-Attributes",
"Get-Jobs",
"Get-Printer-Attributes"
],
"multiple-document-jobs-supported": false,
"multiple-operation-time-out": 150,
"natural-language-configured": "en",
"charset-configured": "utf-8",
"charset-supported": "utf-8",
"document-format-supported": [
"application/octet-stream",
"image/urf"
],
"document-format-default": "application/octet-stream",
"printer-is-accepting-jobs": true,
"queued-job-count": 0,
"pdl-override-supported": "attempted",
"printer-up-time": 14434,
"compression-supported": "none",
"color-supported": false,
"job-creation-attributes-supported": [
"copies",
"finishings",
"ipp-attribute-fidelity",
"job-name",
"media",
"media-col",
"orientation-requested",
"output-bin",
"output-mode",
"print-quality",
"printer-resolution",
"requesting-user-name",
"sides",
"print-color-mode"
],
"landscape-orientation-requested-preferred": 4,
"marker-colors": "en\u001e#000000",
"marker-high-levels": 100,
"marker-levels": 100,
"marker-low-levels": 10,
"marker-names": "en\u001eThermal",
"marker-types": "unknown",
"media-bottom-margin-supported": [
303,
154,
288,
202,
262,
303
],
"media-left-margin-supported": [
154,
303,
288,
202,
154,
202
],
"media-right-margin-supported": [
154,
303,
288,
202,
154,
202
],
"media-source-supported": "main",
"media-top-margin-supported": [
303,
154,
288,
202,
262,
303
],
"media-type-supported": [
"labels",
"roll"
],
"media-size-supported": [
{
"x-dimension": 2900,
"y-dimension": 9000
},
{
"x-dimension": 3800,
"y-dimension": 9000
},
{
"x-dimension": 2900,
"y-dimension": 6200
},
{
"x-dimension": 6200,
"y-dimension": 10000
},
{
"x-dimension": 1700,
"y-dimension": 5400
},
{
"x-dimension": 1700,
"y-dimension": 8700
},
{
"x-dimension": 5800,
"y-dimension": 5800
},
{
"x-dimension": 2900,
"y-dimension": 4200
},
{
"x-dimension": 2900,
"y-dimension": 5200
},
{
"x-dimension": 2300,
"y-dimension": 2300
},
{
"x-dimension": 3900,
"y-dimension": 4800
},
{
"x-dimension": 1200,
"y-dimension": 1200
},
{
"x-dimension": 2400,
"y-dimension": 2400
},
{
"x-dimension": 3290,
"y-dimension": 4762
},
{
"x-dimension": 6000,
"y-dimension": 8600
},
{
"x-dimension": [
1200,
6200
],
"y-dimension": [
1270,
100000
]
},
{
"x-dimension": [
1200,
6200
],
"y-dimension": [
1270,
100000
]
},
{
"x-dimension": [
1200,
6200
],
"y-dimension": [
1270,
100000
]
}
],
"pages-per-minute": 93,
"pdf-versions-supported": "none",
"printer-device-id": "en\u001eMFG:Brother;CMD:PJL;MDL:QL-720NW;CLS:PRINTER;URF:V1.3,W8,CP1,IS1,MT1-8-11,OB10,PQ4-5,RS300,FN3-11-60-63;",
"printer-icons": [
"http://192.168.2.25/ipp/printer-icons-128.png",
"http://192.168.2.25/ipp/printer-icons-512.png"
],
"printer-more-info": "http://192.168.2.25/bio/brairprint.html",
"printer-uuid": "urn:uuid:e3248000-80ce-11db-8000-008077585105",
"urf-supported": [
"V1.3",
"W8",
"CP1",
"IS1",
"MT1-8-11",
"OB10",
"PQ4-5",
"RS300",
"FN3-11-60-63"
],
"job-impressions-supported": [
1,
99
],
"printer-dns-sd-name": "en\u001eBrother QL-720NW",
"printer-supply-info-uri": "http://192.168.2.25/general/status.html",
"media-ready": "roll_current_62x0mm",
"media-col-ready": {
"media-type": "roll",
"media-size": {
"x-dimension": 6200,
"y-dimension": [
1270,
100000
]
},
"media-bottom-margin": 303,
"media-left-margin": 154,
"media-right-margin": 154,
"media-top-margin": 303,
"media-source": "main",
"media-source-properties": {
"media-source-feed-direction": "short-edge-first",
"media-source-feed-orientation": 3
}
},
"printer-kind": [
"label",
"roll"
],
"ipp-features-supported": "airprint-1.3"
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant