{"id":201332,"date":"2013-11-08T07:51:03","date_gmt":"2013-11-08T03:51:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=201332"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=201332","title":{"rendered":"<span class=\"post_title\">\u041b\u0435\u0433\u043a\u0430\u044f \u043f\u0435\u0447\u0430\u0442\u044c \u0441 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438\u043b\u0438 AirPrint \u0431\u0435\u0437 AirPrint<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/4f1\/443\/2a5\/4f14432a5219465b57947988a852fc8d.jpg\"\/><\/p>\n<p>  \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c, \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0432\u0441\u0435 \u043c\u043e\u0438 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0435 \u043f\u043b\u0430\u043d\u0448\u0435\u0442\u044b \u0438 \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u044b \u043d\u0435 \u043f\u0435\u0440\u0432\u044b\u0439 \u0433\u043e\u0434, \u043d\u0435 \u0437\u043d\u0430\u044e\u0442 \u043a\u0430\u043a \u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043d\u0430 \u043f\u043e\u0447\u0442\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438\u0437 Safari, \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u044f \u0443\u0436 \u043e\u0442 \u0442\u043e\u043c \u043a\u0430\u043a \u0435\u0451 \u0440\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/c32\/58b\/6ab\/c3258b6ab2742eadf6475a4e52bc4c46.jpg\"\/>. \u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0438 \u043f\u0440\u043e \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u0432 Android. <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/7dc\/af8\/da5\/7dcaf8da5aae11113ad185148610350f.png\"\/> \u2014 \u044d\u0442\u0438\u043c \u0437\u043d\u0430\u0447\u043a\u043e\u043c \u043c\u0430\u043b\u043e \u043a\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f.<br \/>   \u0425\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441 \u0445\u0430\u0431\u0440\u0430\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0440\u0430\u0441\u0448\u0430\u0440\u0438\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u0430 \u0434\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434\u043a\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  <i>\u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e: \u041d\u0430\u043b\u0438\u0447\u0438\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 CUPS (google \u0432 \u043f\u043e\u043c\u043e\u0448\u044c) \u0438 Avahi (<a href=\"http:\/\/habrahabr.ru\/post\/66020\/\">\u0442\u0443\u0442<\/a> \u0438 <a href=\"http:\/\/habrahabr.ru\/post\/143980\/\">\u0442\u0443\u0442<\/a> ) \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u043d\u0443 \u0438 \u0440\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f WiFi<\/i><\/p>\n<p>  <b>IOS<\/b>  <\/p>\n<ul>\n<li> \u0420\u0430\u0441\u0448\u0430\u0440\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043d\u0442\u0435\u0440, \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u00ab<a href=\"https:\/\/youserver\">youserver<\/a>:631\/admin\u00bb \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0444\u043b\u0430\u0436\u043e\u043a \u00abShare printers connected to this system\u00bb <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/fe4\/90b\/615\/fe490b615797f4084c6fc93aa98d5d1f.jpg\"\/>&quot;<\/li>\n<li>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c CUPS <br \/> \n<pre><code class=\"bash\">sudo \/etc\/init.d\/cups restart <\/code><\/pre>\n<\/li>\n<li>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c Safari \u0438\u043b\u0438 \u043f\u043e\u0447\u0442\u0443, \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u0441\u0442\u0440\u0435\u043b\u043a\u0443 <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/c32\/58b\/6ab\/c3258b6ab2742eadf6475a4e52bc4c46.jpg\"\/> -&gt; \u00ab\u041d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c\u00bb. <\/li>\n<\/ul>\n<p>  \u0411\u0435\u0436\u0438\u043c \u043a \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u0443 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c.<\/p>\n<p>  <b>Android <\/b><br \/>  1 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.blackspruce.lpd\">Lets Print Droid <\/a><br \/>  2. \u0412 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0438\u043d\u0442\u0435\u0440 &quot;+New Printer&quot;-&gt;\u00abEnter printer adress myself\u00bb.<br \/>  \u0412\u0432\u043e\u0434\u0438\u043c:   <\/p>\n<ul>\n<li>\u043b\u044e\u0431\u043e\u0435 \u0438\u043c\u044f \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u0430:<b> \u00ab\u041c\u043e\u0439 \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u00bb<\/b><\/li>\n<li>Protocol:<b> \u00abPIP-IPP\/CUPS\u00bb<\/b><\/li>\n<li>IP Address: <b>printer_ip_addres<\/b><\/li>\n<li>Port: <b> 631 <\/b> <\/li>\n<li>Share :<b> &quot;\/printers\/\u0418\u043c\u044f_\u0448\u0430\u0440\u044b<\/b>&quot; \u2014 \u043f\u0438\u0448\u0435\u043c \u043a\u0430\u043a \u043f\u0440\u0438\u043d\u0442\u0435\u0440 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0441\u0435\u0442\u0438<\/li>\n<li>Page Description Language: \u2014 \u0442\u0443\u0442 \u0432\u0441\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u0430 \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u0443\u0442\u0435\u043c, \u0443 \u043c\u0435\u043d\u044f HP LJ 1018<b> \u00abJPG \u2014 RAW Jpeg or PDF Image\u00bb <\/b><\/li>\n<\/ul>\n<p>  \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c:   <\/p>\n<ul>\n<li>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u0442\u0430\u043d\u0438\u0446\u0443 \u0434\u043b\u044f \u043f\u0435\u0447\u0430\u0442\u0438<\/li>\n<li>\u0437\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u043c\u0435\u043d\u044e \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u00ab\u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0432\u00bb <\/li>\n<li>\u0438\u0449\u0435\u043c Lets Print Droid <\/li>\n<li>\u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0440\u0438\u043d\u0442\u0435\u0440 <\/li>\n<li>\u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u043f\u0435\u0447\u0430\u0442\u044c.<\/li>\n<\/ul>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043b\u044e\u0431\u044b\u043c \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u0432 \u043c\u0435\u043d\u044e \u00ab\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0432\u00bb \u0438\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043a <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/7dc\/af8\/da5\/7dcaf8da5aae11113ad185148610350f.png\"\/> <\/p>\n<h5>P.s. \u0414\u043b\u044f (\u043d\u0435)\u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u044b\u0445 \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0435\u0439 IOS6 \u0438 \u0432\u044b\u0448\u0435. <\/h5>\n<p>  C \u0432\u0432\u043e\u0434\u043e\u043c \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 IOS \u0433\u043e\u0441\u043f\u043e\u0434\u0430 \u0438\u0437 \u041a\u0443\u043f\u0435\u0440\u0442\u0438\u043d\u043e \u0441\u043c\u0435\u043d\u0438\u043b\u0438 \u0444\u043e\u0440\u043c\u0430\u0442 \u043f\u0435\u0447\u0430\u0442\u0438, \u0441 PDF \u043f\u0435\u0440\u0435\u0448\u043b\u0438 \u043d\u0430 URF.<br \/>  \u0414\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0435\u0447\u0430\u0442\u0438 \u043f\u043e\u0434 IOS6 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<br \/>  \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0434\u0432\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0444\u0430\u0439\u043b\u0430 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \/usr\/share\/cups\/mime\/,<br \/>  1. airprint.types  <\/p>\n<pre><code class=\"bash\"># # &quot;$Id: $&quot; # # AirPrint type  image\/urf urf string(0,UNIRAST&lt;00&gt;) # # End of &quot;$Id: $&quot;. # <\/code><\/pre>\n<p>  2.airprint.convs  <\/p>\n<pre><code class=\"bash\"># # &quot;$Id: $&quot; # # AirPrint # Updated list with minimal set 25 Sept image\/urf application\/pdf 100 pdftoraster # # End of &quot;$Id: $&quot;. # <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c CUPS   <\/p>\n<pre><code class=\"bash\"> sudo \/etc\/init.d\/cups restart <\/code><\/pre>\n<p>   \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c  <\/p>\n<pre><code class=\"bash\">apt-get cups-python <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0434\u043b\u044f Avahi:<\/p>\n<pre><code class=\"bash\">wget https:\/\/raw.github.com\/tjfontaine\/airprint-generate\/master\/airprint-generate.py <\/code><\/pre>\n<p>  \u0414\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 airprint-generate.py \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c   <\/p>\n<pre><code class=\"bash\">chmod +x airprint-generate.py .\/airprint-generate.py <\/code><\/pre>\n<p>  \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435  <\/p>\n<pre><code class=\"bash\">mv AirPrint-PDF.service \/etc\/avahi\/services\/ <\/code><\/pre>\n<p>  \u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Avahi  <\/p>\n<pre><code class=\"bash\">.\/airprint-generate.py -d \/etc\/avahi\/services sudo service avahi-daemon restart <\/code><\/pre>\n<p>  \u0412\u0441\u0435 \u043f\u0440\u0438\u043d\u0442\u0435\u0440 \u0433\u043e\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u0435\u0447\u0430\u0442\u0438.<br \/>  <a href=\"http:\/\/ubuntuforums.org\/showpost.php?p=12254866&amp;postcount=19\">\u041f\u0440\u0443\u0444:<\/a> \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/201332\/\"> http:\/\/habrahabr.ru\/post\/201332\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/4f1\/443\/2a5\/4f14432a5219465b57947988a852fc8d.jpg\"\/><\/p>\n<p>  \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c, \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0432\u0441\u0435 \u043c\u043e\u0438 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0435 \u043f\u043b\u0430\u043d\u0448\u0435\u0442\u044b \u0438 \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u044b \u043d\u0435 \u043f\u0435\u0440\u0432\u044b\u0439 \u0433\u043e\u0434, \u043d\u0435 \u0437\u043d\u0430\u044e\u0442 \u043a\u0430\u043a \u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043d\u0430 \u043f\u043e\u0447\u0442\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438\u0437 Safari, \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u044f \u0443\u0436 \u043e\u0442 \u0442\u043e\u043c \u043a\u0430\u043a \u0435\u0451 \u0440\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/c32\/58b\/6ab\/c3258b6ab2742eadf6475a4e52bc4c46.jpg\"\/>. \u0422\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0438 \u043f\u0440\u043e \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u0432 Android. <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/7dc\/af8\/da5\/7dcaf8da5aae11113ad185148610350f.png\"\/> \u2014 \u044d\u0442\u0438\u043c \u0437\u043d\u0430\u0447\u043a\u043e\u043c \u043c\u0430\u043b\u043e \u043a\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f.<br \/>   \u0425\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441 \u0445\u0430\u0431\u0440\u0430\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0440\u0430\u0441\u0448\u0430\u0440\u0438\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u0430 \u0434\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434\u043a\u0430\u0442.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-201332","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/201332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=201332"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/201332\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=201332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=201332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=201332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}