<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; JScript: печать из Chrome в pdf]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15031&amp;type=atom" />
	<updated>2019-10-22T00:35:48Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15031</id>
		<entry>
			<title type="html"><![CDATA[Re: JScript: печать из Chrome в pdf]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136437#p136437" />
			<content type="html"><![CDATA[<p><strong>alexii</strong> Спасибо</p>]]></content>
			<author>
				<name><![CDATA[expertykt]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39985</uri>
			</author>
			<updated>2019-10-22T00:35:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136437#p136437</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: JScript: печать из Chrome в pdf]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136436#p136436" />
			<content type="html"><![CDATA[<p>Точно так же:<br /></p><div class="codebox"><pre><code>Option Explicit

WScript.CreateObject(&quot;WScript.Shell&quot;).Run &quot;&quot;&quot;C:\Program Files (x86)\Google\Chrome\Application\chrome.exe&quot;&quot; --headless --disable-gpu --print-to-pdf=&quot;&quot;C:\someFileName.pdf&quot;&quot; &quot;&quot;http://someSite.ru&quot;&quot;&quot;, 1, False

WScript.Quit 0
</code></pre></div><p>Ну, или чуть сложнее, если надо определить разрядность системы, проверить, установлен ли Google Chrome, найти местоположение его исполняемого файла (учитывая разрядность) и т.п.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2019-10-21T15:16:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136436#p136436</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[JScript: печать из Chrome в pdf]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136433#p136433" />
			<content type="html"><![CDATA[<p>Скрипт должен открыть в Хроме страницу и сохранить ее по указанному пути.<br />В CLI работает:<br /></p><div class="codebox"><pre><code>&quot;C:\Program Files (x86)\Google\Chrome\Application\chrome.exe&quot; --headless --disable-gpu --print-to-pdf=C:\someFileName.pdf someSite.ru</code></pre></div><p>Как сделать это в JS/VBS?</p>]]></content>
			<author>
				<name><![CDATA[expertykt]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39985</uri>
			</author>
			<updated>2019-10-21T07:52:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136433#p136433</id>
		</entry>
</feed>
