Also from my side, many thanks for this app and for the continuous development!
It is amazing the continuous development this app gets. As we get the app and all the benefits of it for free, please support him (any amount is possible) via paypal.me/AntonThomasson
Today I wanted to print only a single page of a longer document. The page range setting was grayed out - what could be causing that?
I’m guessing the problem is that i base the settings too closely on what the printer says that it supports when it comes to job settings. Are you per chance printing via some raster format to a printer that doesn’t support PDF natively? Some settings, like this one, are delegated to the printer for native PDF printing, but realized locally for other formats. (So whether or not the printer can perform it is irrelevant then)
Please do post the debug output (tap printer 5 times with no document selected) if you have it easily available.
The settings logic is becoming due a serious overhaul anyway, but if it is as i suspect i can duct-tape this use case to the current structure fairly easily.
Your guess is correct, so I suspect this is not really needed, but here’s the debug output anyway:
Debug output
{
“charset-configured”: {
“tag”: 71,
“value”: “utf-8”
},
“charset-supported”: {
“tag”: 71,
“value”: [
“utf-8”
]
},
“color-supported”: {
“tag”: 34,
“value”: true
},
“compression-supported”: {
“tag”: 68,
“value”: [
“none”,
“gzip”
]
},
“copies-default”: {
“tag”: 33,
“value”: 1
},
“copies-supported”: {
“tag”: 51,
“value”: {
“high”: 99,
“low”: 1
}
},
“document-format-default”: {
“tag”: 73,
“value”: “application/octet-stream”
},
“document-format-preferred”: {
“tag”: 73,
“value”: “image/urf”
},
“document-format-supported”: {
“tag”: 73,
“value”: [
“application/octet-stream”,
“image/urf”,
“image/jpeg”,
“image/pwg-raster”
]
},
“document-format-varying-attributes”: {
“tag”: 68,
“value”: “copies”
},
“finishings-default”: {
“tag”: 35,
“value”: 3
},
“finishings-supported”: {
“tag”: 35,
“value”: [
3
]
},
“generated-natural-language-supported”: {
“tag”: 72,
“value”: [
“en”,
“fr”,
“de”,
“es”,
“pt”,
“it”,
“nl”,
“no”,
“sv”,
“fi”,
“da”,
“ru”,
“cs”,
“hu”,
“pl”,
“bg”,
“ro”,
“sk”,
“sl”,
“hr”,
“tr”,
“id”
]
},
“identify-actions-default”: {
“tag”: 68,
“value”: [
“flash”,
“sound”
]
},
“identify-actions-supported”: {
“tag”: 68,
“value”: [
“flash”,
“sound”
]
},
“ipp-features-supported”: {
“tag”: 68,
“value”: [
“airprint-1.7”,
“wfds-print-1.0”
]
},
“ipp-versions-supported”: {
“tag”: 68,
“value”: [
“1.0”,
“1.1”,
“2.0”
]
},
“job-creation-attributes-supported”: {
“tag”: 68,
“value”: [
“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”
]
},
“job-impressions-supported”: {
“tag”: 51,
“value”: {
“high”: 999,
“low”: 1
}
},
“job-password-encryption-supported”: {
“tag”: 68,
“value”: [
“none”
]
},
“job-password-length-supported”: {
“tag”: 51,
“value”: {
“high”: 4,
“low”: 4
}
},
“job-password-repertoire-configured”: {
“tag”: 68,
“value”: “iana_us-ascii_digits”
},
“job-password-repertoire-supported”: {
“tag”: 68,
“value”: [
“iana_us-ascii_digits”
]
},
“job-password-supported”: {
“tag”: 33,
“value”: [
4
]
},
“jpeg-features-supported”: {
“tag”: 68,
“value”: [
“none”
]
},
“jpeg-k-octets-supported”: {
“tag”: 51,
“value”: {
“high”: 16384,
“low”: 0
}
},
“jpeg-x-dimension-supported”: {
“tag”: 51,
“value”: {
“high”: 15000,
“low”: 0
}
},
“jpeg-y-dimension-supported”: {
“tag”: 51,
“value”: {
“high”: 15000,
“low”: 1
}
},
“landscape-orientation-requested-preferred”: {
“tag”: 35,
“value”: 5
},
“marker-colors”: {
“tag”: 54,
“value”: [
“”,
“”,
“”,
“”
]
},
“marker-high-levels”: {
“tag”: 33,
“value”: [
100,
100,
100,
100
]
},
“marker-levels”: {
“tag”: 33,
“value”: [
90,
100,
100,
100
]
},
“marker-low-levels”: {
“tag”: 33,
“value”: [
10,
10,
10,
10
]
},
“marker-names”: {
“tag”: 54,
“value”: [
“”,
“”,
“”,
“”
]
},
“marker-types”: {
“tag”: 68,
“value”: [
“toner”,
“toner”,
“toner”,
“toner”
]
},
“media-bottom-margin-supported”: {
“tag”: 33,
“value”: [
432
]
},
“media-col-default”: {
“tag”: 52,
“value”: {
“media-auto-dimension”: {
“tag”: 34,
“value”: false
},
“media-bottom-margin”: {
“tag”: 33,
“value”: 432
},
“media-left-margin”: {
“tag”: 33,
“value”: 432
},
“media-right-margin”: {
“tag”: 33,
“value”: 432
},
“media-size”: {
“tag”: 52,
“value”: {
“x-dimension”: {
“tag”: 33,
“value”: 21000
},
“y-dimension”: {
“tag”: 33,
“value”: 29700
}
}
},
“media-source”: {
“tag”: 68,
“value”: “auto”
},
“media-source-properties”: {
“tag”: 52,
“value”: {
“media-source-feed-direction”: {
“tag”: 68,
“value”: “short-edge-first”
},
“media-source-feed-orientation”: {
“tag”: 35,
“value”: 3
}
}
},
“media-top-margin”: {
“tag”: 33,
“value”: 432
},
“media-type”: {
“tag”: 68,
“value”: “stationery”
}
}
},
“media-col-ready”: {
“tag”: 52,
“value”: {
“media-auto-dimension”: {
“tag”: 34,
“value”: false
},
“media-bottom-margin”: {
“tag”: 33,
“value”: 432
},
“media-left-margin”: {
“tag”: 33,
“value”: 432
},
“media-right-margin”: {
“tag”: 33,
“value”: 432
},
“media-size”: {
“tag”: 52,
“value”: {
“x-dimension”: {
“tag”: 33,
“value”: 21000
},
“y-dimension”: {
“tag”: 33,
“value”: 29700
}
}
},
“media-source”: {
“tag”: 68,
“value”: “tray-1”
},
“media-source-properties”: {
“tag”: 52,
“value”: {
“media-source-feed-direction”: {
“tag”: 68,
“value”: “short-edge-first”
},
“media-source-feed-orientation”: {
“tag”: 35,
“value”: 3
}
}
},
“media-top-margin”: {
“tag”: 33,
“value”: 432
}
}
},
“media-col-supported”: {
“tag”: 68,
“value”: [
“media-type”,
“media-size”,
“media-top-margin”,
“media-left-margin”,
“media-right-margin”,
“media-bottom-margin”,
“media-source”,
“media-auto-dimension”,
“media-source-propaties”
]
},
“media-default”: {
“tag”: 68,
“value”: “iso_a4_210x297mm”
},
“media-left-margin-supported”: {
“tag”: 33,
“value”: [
432
]
},
“media-ready”: {
“tag”: 68,
“value”: “iso_a4_210x297mm”
},
“media-right-margin-supported”: {
“tag”: 33,
“value”: [
432
]
},
“media-size-supported”: {
“tag”: 52,
“value”: [
[
{
“x-dimension”: {
“tag”: 33,
“value”: 21000
},
“y-dimension”: {
“tag”: 33,
“value”: 29700
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 21590
},
“y-dimension”: {
“tag”: 33,
“value”: 27940
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 21590
},
“y-dimension”: {
“tag”: 33,
“value”: 35560
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 18415
},
“y-dimension”: {
“tag”: 33,
“value”: 26670
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 14800
},
“y-dimension”: {
“tag”: 33,
“value”: 21000
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 10500
},
“y-dimension”: {
“tag”: 33,
“value”: 14800
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 17600
},
“y-dimension”: {
“tag”: 33,
“value”: 25000
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 10477
},
“y-dimension”: {
“tag”: 33,
“value”: 24130
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 11000
},
“y-dimension”: {
“tag”: 33,
“value”: 22000
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 16200
},
“y-dimension”: {
“tag”: 33,
“value”: 22900
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 9842
},
“y-dimension”: {
“tag”: 33,
“value”: 19050
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 7620
},
“y-dimension”: {
“tag”: 33,
“value”: 12700
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 21590
},
“y-dimension”: {
“tag”: 33,
“value”: 33020
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 21590
},
“y-dimension”: {
“tag”: 33,
“value”: 34036
}
},
{
“x-dimension”: {
“tag”: 33,
“value”: 21500
},
“y-dimension”: {
“tag”: 33,
“value”: 34500
}
},
{
“x-dimension”: {
“tag”: 51,
“value”: {
“high”: 21590,
“low”: 7620
}
},
“y-dimension”: {
“tag”: 51,
“value”: {
“high”: 35560,
“low”: 12700
}
}
}
]
]
},
“media-source-supported”: {
“tag”: 68,
“value”: [
“auto”,
“manual”,
“tray-1”
]
},
“media-supported”: {
“tag”: 68,
“value”: [
“iso_a4_210x297mm”,
“na_letter_8.5x11in”,
“na_legal_8.5x14in”,
“na_executive_7.25x10.5in”,
“iso_a5_148x210mm”,
“iso_a6_105x148mm”,
“iso_b5_176x250mm”,
“na_number-10_4.125x9.5in”,
“iso_dl_110x220mm”,
“iso_c5_162x229mm”,
“na_monarch_3.875x7.5in”,
“na_index-3x5_3x5in”,
“na_foolscap_8.5x13in”,
“na_oficio_8.5x13.4in”,
“om_india-legal_215x345mm”,
“custom_min_76.2x127mm”,
“custom_max_215.9x355.6mm”
]
},
“media-top-margin-supported”: {
“tag”: 33,
“value”: [
432
]
},
“media-type-supported”: {
“tag”: 68,
“value”: [
“stationery”,
“stationery-lightweight”,
“stationery-heavyweight”,
“envelope”,
“envelope-heavyweight”,
“envelope-lightweight”,
“labels”,
“photographic-glossy”,
“stationery-bond”,
“com.brother.thicker”,
“com.brother.recycled”
]
},
“mopria-certified”: {
“tag”: 65,
“value”: “1.3”
},
“multiple-document-jobs-supported”: {
“tag”: 34,
“value”: false
},
“multiple-operation-time-out”: {
“tag”: 33,
“value”: 150
},
“multiple-operation-time-out-action”: {
“tag”: 68,
“value”: “abort-job”
},
“natural-language-configured”: {
“tag”: 72,
“value”: “fi”
},
“operations-supported”: {
“tag”: 35,
“value”: [
2,
4,
5,
6,
8,
9,
10,
11,
59,
60
]
},
“orientation-requested-default”: {
“tag”: 35,
“value”: 3
},
“orientation-requested-supported”: {
“tag”: 35,
“value”: [
3,
4
]
},
“output-bin-default”: {
“tag”: 68,
“value”: “face-down”
},
“output-bin-supported”: {
“tag”: 68,
“value”: [
“face-down”
]
},
“output-mode-default”: {
“tag”: 68,
“value”: “color”
},
“output-mode-supported”: {
“tag”: 68,
“value”: [
“color”,
“auto”,
“auto-monochrome”,
“monochrome”
]
},
“pages-per-minute”: {
“tag”: 33,
“value”: 18
},
“pages-per-minute-color”: {
“tag”: 33,
“value”: 18
},
“pdf-versions-supported”: {
“tag”: 68,
“value”: [
“none”
]
},
“pdl-override-supported”: {
“tag”: 68,
“value”: [
“attempted”
]
},
“print-color-mode-default”: {
“tag”: 68,
“value”: “color”
},
“print-color-mode-supported”: {
“tag”: 68,
“value”: [
“auto”,
“color”,
“monochrome”,
“auto-monochrome”
]
},
“print-content-optimize-default”: {
“tag”: 68,
“value”: “auto”
},
“print-content-optimize-supported”: {
“tag”: 68,
“value”: [
“auto”
]
},
“print-quality-default”: {
“tag”: 35,
“value”: 4
},
“print-quality-supported”: {
“tag”: 35,
“value”: [
4
]
},
“print-scaling-default”: {
“tag”: 68,
“value”: “auto”
},
“print-scaling-supported”: {
“tag”: 68,
“value”: [
“auto”,
“auto-fit”,
“fill”,
“fit”,
“none”
]
},
“print_wfds”: {
“tag”: 65,
“value”: “T”
},
“printer-alert”: {
“tag”: 48,
“value”: “code=other”
},
“printer-alert-description”: {
“tag”: 53,
“value”: “”
},
“printer-config-change-date-time”: {
“tag”: 49,
“value”: “2020-09-12T10:31:56Z”
},
“printer-config-change-time”: {
“tag”: 33,
“value”: 1
},
“printer-current-time”: {
“tag”: 49,
“value”: “2020-09-23T06:10:20Z”
},
“printer-device-id”: {
“tag”: 53,
“value”: “”
},
“printer-dns-sd-name”: {
“tag”: 66,
“value”: “Brother DCP-L3550CDW series”
},
“printer-firmware-name”: {
“tag”: 66,
“value”: [
“MAIN”,
“SUB1”,
“SUB5”
]
},
“printer-firmware-string-version”: {
“tag”: 65,
“value”: [
“S2007270936:80F3”,
“1.59”,
“1.00”
]
},
“printer-firmware-version”: {
“tag”: 48,
“value”: [
“S2007270936:80F3”,
“1.59”,
“1.00”
]
},
“printer-geo-location”: {
“tag”: 18,
“value”: “”
},
“printer-get-attributes-supported”: {
“tag”: 68,
“value”: [
“document-format”
]
},
“printer-icons”: {
“tag”: 69,
“value”: [
“http://192.168.0.128/ipp/printer-icons-128.png”,
“http://192.168.0.128/ipp/printer-icons-512.png”
]
},
“printer-info”: {
“tag”: 53,
“value”: “”
},
“printer-input-tray”: {
“tag”: 48,
“value”: [
“type=other;mediafeed=296926;mediaxfeed=209973;maxcapacity=250;level=-3;status=0;name=AUTO;index=1;dimunit=micrometers;unit=sheets;medianame=THIN;mediaweight=-2;mediatype=Unknown;mediacolor=Unknown;”,
“type=sheetFeedManual;mediafeed=-2;mediaxfeed=-2;maxcapacity=1;level=-3;status=0;name=MANUAL TRAY;index=2;dimunit=micrometers;unit=sheets;medianame=THIN;mediaweight=-2;mediatype=Unknown;mediacolor=Unknown;”,
“type=sheetFeedAutoNonRemovableTray;mediafeed=296926;mediaxfeed=209973;maxcapacity=250;level=-3;status=0;name=TRAY1;index=3;dimunit=micrometers;unit=sheets;medianame=REGULAR;mediaweight=-2;mediatype=Unknown;mediacolor=Unknown;”
]
},
“printer-is-accepting-jobs”: {
“tag”: 34,
“value”: true
},
“printer-kind”: {
“tag”: 68,
“value”: [
“document”,
“envelope”,
“label”,
“postcard”
]
},
“printer-location”: {
“tag”: 65,
“value”: “ty�huone”
},
“printer-make-and-model”: {
“tag”: 53,
“value”: “”
},
“printer-mandatory-job-attributes”: {
“tag”: 68,
“value”: [
“attributes-charset”,
“attributes-natural-language”,
“printer-uri”
]
},
“printer-more-info”: {
“tag”: 69,
“value”: “http://192.168.0.128/net/net/airprint.html”
},
“printer-name”: {
“tag”: 66,
“value”: “BRN3C2AF4E03AEB”
},
“printer-organization”: {
“tag”: 65,
“value”: “”
},
“printer-organizational-unit”: {
“tag”: 65,
“value”: “”
},
“printer-output-tray”: {
“tag”: 48,
“value”: “type=unRemovableBin;maxcapacity=-2;remaining=-2;status=0;name=face-down;index=1;unit=sheets;stackingorder=firstToLast;pagedelivery=notPresent;offsetstacking=notPresent;”
},
“printer-resolution-default”: {
“tag”: 50,
“value”: {
“units”: 3,
“x”: 600,
“y”: 600
}
},
“printer-resolution-supported”: {
“tag”: 50,
“value”: [
{
“units”: 3,
“x”: 600,
“y”: 600
}
]
},
“printer-state”: {
“tag”: 35,
“value”: 3
},
“printer-state-change-date-time”: {
“tag”: 49,
“value”: “2020-09-18T16:42:07Z”
},
“printer-state-change-time”: {
“tag”: 33,
“value”: 69393
},
“printer-state-reasons”: {
“tag”: 68,
“value”: “none”
},
“printer-strings-languages-supported”: {
“tag”: 72,
“value”: [
“en”,
“fr”,
“de”,
“es”,
“pt”,
“it”,
“nl”,
“nb”,
“sv”,
“fi”,
“da”,
“ru”,
“cs”,
“hu”,
“pl”,
“ro”,
“sk”,
“hr”,
“tr”,
“id”
]
},
“printer-strings-uri”: {
“tag”: 69,
“value”: “http://192.168.0.128/ipp/strings/dict/en.txt”
},
“printer-supply-info-uri”: {
“tag”: 69,
“value”: “http://192.168.0.128/general/status.html”
},
“printer-up-time”: {
“tag”: 33,
“value”: 107580
},
“printer-uri-supported”: {
“tag”: 69,
“value”: [
“ipp://192.168.0.128/ipp/print”
]
},
“printer-uuid”: {
“tag”: 69,
“value”: “urn:uuid:e3248000-80ce-11db-8000-3c2af4e03aeb”
},
“pwg-raster-document-resolution-supported”: {
“tag”: 50,
“value”: [
{
“units”: 3,
“x”: 600,
“y”: 600
}
]
},
“pwg-raster-document-sheet-back”: {
“tag”: 68,
“value”: “rotated”
},
“pwg-raster-document-type-supported”: {
“tag”: 68,
“value”: [
“sgray_8”,
“srgb_8”
]
},
“queued-job-count”: {
“tag”: 33,
“value”: 0
},
“sides-default”: {
“tag”: 68,
“value”: “two-sided-long-edge”
},
“sides-supported”: {
“tag”: 68,
“value”: [
“one-sided”,
“two-sided-long-edge”,
“two-sided-short-edge”
]
},
“urf-supported”: {
“tag”: 68,
“value”: [
“SRGB24”,
“W8”,
“CP1”,
“IS4-1”,
“MT1-3-4-5-8-11”,
“OB10”,
“PQ4”,
“RS600”,
“V1.4”,
“DM1”
]
},
“uri-authentication-supported”: {
“tag”: 68,
“value”: [
“none”
]
},
“uri-security-supported”: {
“tag”: 68,
“value”: [
“none”
]
},
“which-jobs-supported”: {
“tag”: 68,
“value”: [
“completed”,
“not_completed”
]
}
}
@vige
How did you get that debug output copied into the browser keeping the line breaks?
Or did you just not use the SF browser and copy/pasted the output into a txt file, transferred to big machine?
debug, output, using SF browser
{ “charset-configured”: { “tag”: 71, “value”: “utf-8” }, “charset-supported”: { “tag”: 71, “value”: [ “utf-8”, “us-ascii” ] }, “color-supported”: { “tag”: 34, “value”: false }, “compression-supported”: { “tag”: 68, “value”: [ “none” ] }, “copies-default”: { “tag”: 33, “value”: 1 }, “copies-supported”: { “tag”: 51, “value”: { “high”: 999, “low”: 1 } }, “document-format-default”: { “tag”: 73, “value”: “application/pdf” }, “document-format-supported”: { “tag”: 73, “value”: [ “image/urf”, “application/pdf”, “application/postscript”, “application/vnd.hp-PCL”, “application/vnd.hp-PCLXL” ] }, “finishings-default”: { “tag”: 35, “value”: 3 }, “finishings-supported”: { “tag”: 35, “value”: [ 3 ] }, “generated-natural-language-supported”: { “tag”: 72, “value”: [ “en” ] }, “ipp-versions-supported”: { “tag”: 68, “value”: [ “1.0”, “1.1”, “2.0” ] }, “job-creation-attributes-supported”: { “tag”: 68, “value”: [ “copies”, “finishings”, “sides”, “orientation-requested”, “media”, “print-quality”, “printer-resolution”, “output-bin”, “media-col”, “output-mode”, “ipp-attribute-fidelity”, “job-name”, “page-ranges”, “multiple-document-handling” ] }, “job-impressions-supported”: { “tag”: 51, “value”: { “high”: 99999, “low”: 1 } }, “landscape-orientation-requested-preferred”: { “tag”: 35, “value”: 4 }, “marker-colors”: { “tag”: 66, “value”: “#000000” }, “marker-high-levels”: { “tag”: 33, “value”: 100 }, “marker-levels”: { “tag”: 33, “value”: 100 }, “marker-low-levels”: { “tag”: 33, “value”: 5 }, “marker-names”: { “tag”: 66, “value”: “Black Cartridge HP CE278A” }, “marker-types”: { “tag”: 68, “value”: “toner” }, “media-bottom-margin-supported”: { “tag”: 33, “value”: [ 423 ] }, “media-col-default”: { “tag”: 52, “value”: [ “”, “media-size”, “”, “x-dimension”, 21000, “y-dimension”, 29700, “media-size-name”, “iso_a4_210x297mm”, “”, “media-top-margin”, 423, “media-bottom-margin”, 423, “media-left-margin”, 423, “media-right-margin”, 423, “media-source”, “main-tray”, “media-type”, “stationery”, “duplex-supported”, 1, “” ] }, “media-col-supported”: { “tag”: 68, “value”: [ “media-type”, “media-size”, “media-top-margin”, “media-left-margin”, “media-right-margin”, “media-bottom-margin”, “media-source”, “duplex-supported” ] }, “media-default”: { “tag”: 68, “value”: “iso_a4_210x297mm” }, “media-left-margin-supported”: { “tag”: 33, “value”: [ 423 ] }, “media-right-margin-supported”: { “tag”: 33, “value”: [ 423 ] }, “media-source-supported”: { “tag”: 68, “value”: [ “main-tray” ] }, “media-supported”: { “tag”: 68, “value”: [ “na_letter_8.5x11in”, “na_legal_8.5x14in”, “na_executive_7.25x10.5in”, “na_foolscap_8.5x13in”, “iso_a4_210x297mm”, “iso_a5_148x210mm”, “jis_b5_182x257mm”, “prc_16k_195x270mm”, “prc_16k_184x260mm”, “prc_16k_197x273mm”, “jpn_hagaki_100x148mm”, “jpn_oufuku_148x200mm”, “na_number-10_4.125x9.5in”, “na_monarch_3.875x7.5in”, “iso_b5_176x250mm”, “iso_c5_162x229mm”, “iso_dl_110x220mm” ] }, “media-top-margin-supported”: { “tag”: 33, “value”: [ 423 ] }, “media-type-supported”: { “tag”: 66, “value”: [ “stationery”, “stationery-lightweight”, “midweight”, “stationery-heavyweight”, “extraHeavy”, “colorTransparency”, “labels”, “stationery-letterhead”, “envelope”, “stationery-preprinted”, “stationery-prepunched”, “color”, “bond”, “recycled”, “rough”, “vellum” ] }, “multiple-document-handling-default”: { “tag”: 68, “value”: “single-document” }, “multiple-document-handling-supported”: { “tag”: 68, “value”: [ “single-document”, “separate-documents-uncollated-copies”, “separate-documents-collated-copies”, “single-document-new-sheet” ] }, “multiple-document-jobs-supported”: { “tag”: 34, “value”: true }, “natural-language-configured”: { “tag”: 72, “value”: “en” }, “operations-supported”: { “tag”: 35, “value”: [ 2, 3, 4, 5, 7, 8, 9, 10, 11 ] }, “orientation-requested-default”: { “tag”: 35, “value”: 3 }, “orientation-requested-supported”: { “tag”: 35, “value”: [ 3, 4, 5, 6 ] }, “output-bin-default”: { “tag”: 68, “value”: “face-down” }, “output-bin-supported”: { “tag”: 68, “value”: [ “face-down” ] }, “output-mode-default”: { “tag”: 68, “value”: “monochrome” }, “output-mode-supported”: { “tag”: 68, “value”: [ “monochrome”, “auto” ] }, “page-ranges-supported”: { “tag”: 34, “value”: true }, “pages-per-minute”: { “tag”: 33, “value”: 25 }, “pdf-k-octets-supported”: { “tag”: 51, “value”: { “high”: 75000, “low”: 0 } }, “pdf-versions-supported”: { “tag”: 68, “value”: [ “adobe-1.2”, “adobe-1.3”, “adobe-1.4”, “adobe-1.5”, “adobe-1.6”, “adobe-1.7”, “iso-19005-1_2005”, “iso-32000-1_2008” ] }, “pdl-override-supported”: { “tag”: 68, “value”: [ “attempted” ] }, “print-quality-default”: { “tag”: 35, “value”: 4 }, “print-quality-supported”: { “tag”: 35, “value”: [ 4, 3 ] }, “printer-device-id”: { “tag”: 65, “value”: “MFG:Hewlett-Packard;CMD:PJL,PML,PCLXL,URP,PCL,PDF,POSTSCRIPT;MDL:HP LaserJet M1536dnf MFP;CLS:PRINTER;DES:Hewlett-Packard LaserJet M1536dnf MFP;MEM:MEM=112MB;COMMENT:RES=600x2;LEDMDIS:USB#ff#04#01;” }, “printer-icons”: { “tag”: 69, “value”: [ “http://NPI6033F5.local/ipp/images/printer.png” ] }, “printer-info”: { “tag”: 65, “value”: “HP LaserJet M1536dnf MFP” }, “printer-is-accepting-jobs”: { “tag”: 34, “value”: true }, “printer-location”: { “tag”: 65, “value”: “” }, “printer-make-and-model”: { “tag”: 65, “value”: “HP LaserJet M1536dnf MFP” }, “printer-more-info”: { “tag”: 69, “value”: “http://www.hp.com” }, “printer-name”: { “tag”: 66, “value”: “NPI6033F5” }, “printer-resolution-default”: { “tag”: 50, “value”: { “units”: 3, “x”: 600, “y”: 600 } }, “printer-resolution-supported”: { “tag”: 50, “value”: [ { “units”: 3, “x”: 600, “y”: 600 } ] }, “printer-state”: { “tag”: 35, “value”: 3 }, “printer-state-reasons”: { “tag”: 68, “value”: “none” }, “printer-up-time”: { “tag”: 33, “value”: 4576700 }, “printer-uri-supported”: { “tag”: 69, “value”: [ “ipp://NPI6033F5.local/ipp/printer” ] }, “printer-uuid”: { “tag”: 69, “value”: “urn:uuid:434e4638-4637-3335-3932-a45d366033f5” }, “queued-job-count”: { “tag”: 33, “value”: 0 }, “sides-default”: { “tag”: 68, “value”: “one-sided” }, “sides-supported”: { “tag”: 68, “value”: [ “one-sided”, “two-sided-short-edge”, “two-sided-long-edge” ] }, “urf-supported”: { “tag”: 68, “value”: [ “CP99”, “W8”, “OB10”, “PQ3-4-5”, “DM1”, “IS1-4”, “MT1-2-3-5”, “MT1-2-3-5”, “RS600” ] }, “uri-authentication-supported”: { “tag”: 68, “value”: [ “requesting-user-name” ] }, “uri-security-supported”: { “tag”: 68, “value”: [ “none” ] }}
Close, I copy/pasted the text to an email which I sent to myself
A more elegant way to do stuff like that has to be invented.
Fix/workaround is done and has been released on github, and is pending in store.
Oh god, what a monster i have created
Hey @attah, why aren’t you using the sailfish DocumentPickerPage or DownloadPickerPage for selecting a file to print? Likely you have a reason for don’t doing this, but I wanted to suggest it
That definitely started as an oversigt on my end. However the current way allows limiting choices to supported file types. I think that has saved me a lot of upset users trying to print word documents…
It was super easy to connect the printer to the app and I was immediately able to print a picture. pdf was not possible even though I added it through the terminal as stated in the app start screen.
After some time the app wouldn’t detect the printers at all.
Very smooth working app when it works. I need to look into the new version.
Great job!
Thanks! But it sounds like you are having a not-very-nice experience. Wonder what could be causing that.
I have had printers stop responding, or otherwise need another refresh, but then it was just that, singular printers. The entire app not behaving sounds worrying.
Nothing like that is improved in the new version. Please do run it from terminal or SDK and collect logs if you have time, and manage to reproduce the issue.
I’m also curious about the PDF situation, did the app say the printer could handle PDFs but failed, or does it not let you select the printer with a PDF selected?
What printer is it, and what does document-format-supported
in the debug info say?
It is a printer at work and I will try to get that info on Monday.
The first time the app found the printer super fast. I believe that was before I went into terminal and got the pdf working (or that was what was supposed to happen). The app all the time has said the printer can handle pdf but didn’t succeed in printing it for me.
I will check on Monday what error message I get. Unfortunately I am not clever with the commandos you mention but I will do my best.
Edit
@attah
I tried the printer again just now and it works perfectly also with PDF as long as I do not try to print from the Android part of the storage. (my bad)
Happy to hear that it works. If you do catch it acting up again, any logs will be helpful in trying to make sure you and others aren’t hit by the issue in the future. If it said it supports PDF already from the beginning, it probably does so natively (which is the best experience anyway), and the dependency isn’t necessary. But i certainly doesn’t hurt to have for later.
It works flawlessly. Only question - why can’t it read the android part of the storage?
I have no idea. It should work the same as any other process with user permissions.
BTW, how did you get the file from there? Sharing plugin?
Every time I dowload anything using Brave Browser it ends up in the android storage. Trying to print from there is not possible.
Oh, i had completely forgotten about that folder. I don’t use android apps much. But i tried downloading a pdf with Firefox Focus, and it printed just fine from there. Do you get any error message?
Something about Error processing.
I have problems with opening or saving files in android apps. I will check tomorrow to see what the error messags says.