{"action":"reopened","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2517","repository_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2517/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2517/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2517/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2517","id":100401274,"node_id":"MDU6SXNzdWUxMDA0MDEyNzQ=","number":2517,"title":"add a rotate option","user":{"login":"eiked","id":2196134,"node_id":"MDQ6VXNlcjIxOTYxMzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2196134?v=4","gravatar_id":"","url":"https://api.github.com/users/eiked","html_url":"https://github.com/eiked","followers_url":"https://api.github.com/users/eiked/followers","following_url":"https://api.github.com/users/eiked/following{/other_user}","gists_url":"https://api.github.com/users/eiked/gists{/gist_id}","starred_url":"https://api.github.com/users/eiked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eiked/subscriptions","organizations_url":"https://api.github.com/users/eiked/orgs","repos_url":"https://api.github.com/users/eiked/repos","events_url":"https://api.github.com/users/eiked/events{/privacy}","received_events_url":"https://api.github.com/users/eiked/received_events","type":"User","site_admin":false},"labels":[{"id":79167298,"node_id":"MDU6TGFiZWw3OTE2NzI5OA==","url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/labels/NeedInfo","name":"NeedInfo","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2015-08-11T20:26:18Z","updated_at":"2018-06-15T17:40:20Z","closed_at":null,"author_association":"NONE","body":"I'd like to suggest a --rotate=deg option.\nThat option should rotate the resulting pdf by the degrees given.\n\nThe legal values for deg should be 0, 90, 180, 270, -90, -180, -270 with 0 being the default.\n\nRationale\n\nI'd like to generate pdf for labels to be printed on a label printer.\nHowever the labels are too wide, so I need to rotate them.\n\nThis can be done in the print dialog.\nBut this can not yet be done with options to wkhtml2pdf.\n\nUsing the --orientation=Portrait option does not help,\nas it simply seems to exchange width vs height,\nbut it does not rotate the content.\n\nI could go on and rotate the html/css input,\nbut I want to rotate the pdf output.\n\nEither this is already available at the webkit level,\nor there could be some transformation on the pdf document level.\nObviously the print dialog can do such things.\n"}}
{"actor":{"display_login":"alloylab"}}