{"action":"created","issue":{"url":"https://api.github.com/repos/apple/cups/issues/5434","repository_url":"https://api.github.com/repos/apple/cups","labels_url":"https://api.github.com/repos/apple/cups/issues/5434/labels{/name}","comments_url":"https://api.github.com/repos/apple/cups/issues/5434/comments","events_url":"https://api.github.com/repos/apple/cups/issues/5434/events","html_url":"https://github.com/apple/cups/issues/5434","id":379258884,"node_id":"MDU6SXNzdWUzNzkyNTg4ODQ=","number":5434,"title":"CUPS fails to communicate with pstoufr2cpca (Canon UFR II filter )","user":{"login":"esternin","id":29458452,"node_id":"MDQ6VXNlcjI5NDU4NDUy","avatar_url":"https://avatars2.githubusercontent.com/u/29458452?v=4","gravatar_id":"","url":"https://api.github.com/users/esternin","html_url":"https://github.com/esternin","followers_url":"https://api.github.com/users/esternin/followers","following_url":"https://api.github.com/users/esternin/following{/other_user}","gists_url":"https://api.github.com/users/esternin/gists{/gist_id}","starred_url":"https://api.github.com/users/esternin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esternin/subscriptions","organizations_url":"https://api.github.com/users/esternin/orgs","repos_url":"https://api.github.com/users/esternin/repos","events_url":"https://api.github.com/users/esternin/events{/privacy}","received_events_url":"https://api.github.com/users/esternin/received_events","type":"User","site_admin":false},"labels":[{"id":309213040,"node_id":"MDU6TGFiZWwzMDkyMTMwNDA=","url":"https://api.github.com/repos/apple/cups/labels/Third-Party","name":"Third-Party","color":"000000","default":false}],"state":"closed","locked":false,"assignee":{"login":"michaelrsweet","id":488103,"node_id":"MDQ6VXNlcjQ4ODEwMw==","avatar_url":"https://avatars0.githubusercontent.com/u/488103?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelrsweet","html_url":"https://github.com/michaelrsweet","followers_url":"https://api.github.com/users/michaelrsweet/followers","following_url":"https://api.github.com/users/michaelrsweet/following{/other_user}","gists_url":"https://api.github.com/users/michaelrsweet/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelrsweet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelrsweet/subscriptions","organizations_url":"https://api.github.com/users/michaelrsweet/orgs","repos_url":"https://api.github.com/users/michaelrsweet/repos","events_url":"https://api.github.com/users/michaelrsweet/events{/privacy}","received_events_url":"https://api.github.com/users/michaelrsweet/received_events","type":"User","site_admin":false},"assignees":[{"login":"michaelrsweet","id":488103,"node_id":"MDQ6VXNlcjQ4ODEwMw==","avatar_url":"https://avatars0.githubusercontent.com/u/488103?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelrsweet","html_url":"https://github.com/michaelrsweet","followers_url":"https://api.github.com/users/michaelrsweet/followers","following_url":"https://api.github.com/users/michaelrsweet/following{/other_user}","gists_url":"https://api.github.com/users/michaelrsweet/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelrsweet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelrsweet/subscriptions","organizations_url":"https://api.github.com/users/michaelrsweet/orgs","repos_url":"https://api.github.com/users/michaelrsweet/repos","events_url":"https://api.github.com/users/michaelrsweet/events{/privacy}","received_events_url":"https://api.github.com/users/michaelrsweet/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-11-09T17:46:04Z","updated_at":"2018-11-13T08:42:58Z","closed_at":"2018-11-09T18:01:57Z","author_association":"NONE","body":"The error showed up once I updated from CUPS 2.1 to 2.2, on a Slackware64 v14.2, as a part of a routine update to the system from the standard distribution channel. It does not depend on the Canon driver version (310, 320, 340, 360 - the latest, October 2018), and all exhibit the same symptoms: error_log reports that pstoufr2cpca fails with:\r\n   `ERROR: can't make parameter.`\r\nIt appears that a calling sequence from CUPS to invoke the filter may have changed between v.2.1 and 2.2, as the error seems to come from this part of the filter code:\r\n```\r\n   if( make_cmd_arg(p_cups_opt, num_opt, p_ps_param, cmd_arg, copies, argv[2], argv[3]) < 0 ) {\r\n\t    fputs(\"ERROR: can't make parameter.\\n\", stderr);\r\n\t    goto error_return;\r\n\t    } \r\n```\r\nThe error has been [reported previously (May 2017)](https://www.pclinuxos.com/forum/index.php?topic=141916.0) with no apparent resolution.\r\n\r\nAll Canon executables report no ldd errors, CUPS is able to communicate directly with an HP network printer (using lpr, PCL or PostScript), but not directly to the Canon UFRII printer (MF4370dn, if it matters), also using lpr but via pstoufr2cpca to pre-process files before sending.\r\n\r\nCan anybody suggest what happened here? Why would there be a change to the standard filter invocation sequence? The log file on the working CUPS 2.1 Slackware 14.1 node seems to report nothing different. I held off updating that node, but this approach cannot be maintained for long. The problem persisted through several version updates in CUPS 2.2.* series."},"comment":{"url":"https://api.github.com/repos/apple/cups/issues/comments/438182774","html_url":"https://github.com/apple/cups/issues/5434#issuecomment-438182774","issue_url":"https://api.github.com/repos/apple/cups/issues/5434","id":438182774,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODE4Mjc3NA==","user":{"login":"jsmeix","id":1788608,"node_id":"MDQ6VXNlcjE3ODg2MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/1788608?v=4","gravatar_id":"","url":"https://api.github.com/users/jsmeix","html_url":"https://github.com/jsmeix","followers_url":"https://api.github.com/users/jsmeix/followers","following_url":"https://api.github.com/users/jsmeix/following{/other_user}","gists_url":"https://api.github.com/users/jsmeix/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmeix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmeix/subscriptions","organizations_url":"https://api.github.com/users/jsmeix/orgs","repos_url":"https://api.github.com/users/jsmeix/repos","events_url":"https://api.github.com/users/jsmeix/events{/privacy}","received_events_url":"https://api.github.com/users/jsmeix/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T08:42:58Z","updated_at":"2018-11-13T08:42:58Z","author_association":"NONE","body":"@esternin \r\nI am the author and maintainer and the \"anything-else-one\" ;-) for\r\nhttps://en.opensuse.org/SDB:How_to_Report_a_Printing_Issue\r\ncf.\r\nhttps://en.opensuse.org/index.php?title=SDB:How_to_Report_a_Printing_Issue&action=history\r\n\r\nThis article is primarily meant to guide unexperienced Linux users\r\nhow to _report_ a printing issue\r\nso that others (experienced Linux users) have at least a chance\r\nto understand what goes on to be able to provide useful help.\r\n\r\nWhat is missing is a separated new article that is about\r\n\"how to analyze and debug a printing issue\"\r\nfor experienced Linux users.\r\nSuch an article is much more complicated to write\r\nbecause there are many different cases of printing issues\r\nand each case is usually complicated in its own specific way\r\n(this issue here is a good example).\r\nAs time permits I will try to make such an article but no promises\r\nbecause nowadays my main working area is \"disaster recovery\"\r\ncf. https://en.opensuse.org/SDB:Disaster_Recovery\r\n"}}
{"actor":{"display_login":"jsmeix"}}