<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community : All Content - All Communities</title>
    <link>https://forums.adobe.com/</link>
    <description>All Content in Adobe Community</description>
    <language>en</language>
    <pubDate>Sun, 07 Sep 2014 01:40:51 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-09-07T01:40:51Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Disabling automatic headers/footers when *printing* HTML files to PDF?</title>
      <link>https://forums.adobe.com/thread/1567645</link>
      <description>&lt;!-- [DocumentBodyStart:d3e49868-8430-4de6-a30c-2e12a8d564f8] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Ok, so everyone is aware of those annoying headers/footers that are placed on every single page when converting HTML files to PDF from within Adobe Acrobat. Luckily, they are easily disabled once you figure out where this particular setting is hidden (and hidden it is, in "File -&amp;gt; Create -&amp;gt; PDF from Web Page -&amp;gt; Settings... -&amp;gt; Place headers and footers on new page" instead of in the Preferences section where one would expect it to be).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But, how about when *printing* an HTML file with the virtual "Adobe PDF" printer? The "Adobe PDF" Printing Preferences window does not have any such setting. The only setting that even remotely resembles the above mentioned setting is one that says "Add document information" but it does not affect the inclusion of these automatic headers and footers.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So, is there a way to *print* an HTML file to PDF without these unwanted headers and footers in the same manner as one can *convert* an HTML file to PDF free from automatic headers and footers?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In case anyone wonders why not *convert* the file to PDF instead of printing it to PDF, it's simply because conversion to PDF doesn't apply custom page margins and custom page breaks. So, if one wants a PDF document with custom page margins, then printing to PDF is the only way to go. Conversely, if one wants to preserve interactive features such as HTML links, cursor highlight styles, etc, then converting to PDF is the only way to go. In this case, I need custom page margins - but I certainly don't need these annoying automatic headers/footers.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d3e49868-8430-4de6-a30c-2e12a8d564f8] --&gt;&lt;img src='/beacon?t=1415922244499' /&gt;</description>
      <pubDate>Sun, 07 Sep 2014 01:40:51 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1567645</guid>
      <dc:date>2014-09-07T01:40:51Z</dc:date>
      <clearspace:dateToText>2 months 7 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Custom page breaks with "@media print" in CSS when creating a PDF from HTML?</title>
      <link>https://forums.adobe.com/thread/1509909</link>
      <description>&lt;!-- [DocumentBodyStart:3f627121-8ded-4b19-be2b-b2d260297d33] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Searching for threads containing the text string "@media print" gave me zero hits, so I guess I'm either the smartest guy in the entire universe for coming up with this idea or the dumbest for the same reason since I must be missing something that everyone else knows by heart without even asking.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Namely, I would like to make use of the CSS "@media print" wrapper when I'm converting an HTML file to PDF through Adobe Acrobat - as opposed to printing an HTML page through a web browser using the Adobe PDF virtual printer device. These are, as I understand it, two equivalent though not entirely identical (as they make use of and rely on somewhat different settings) procedures that both convert an HTML file into a PDF document.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here's my CSS code:&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p&gt;@media print { span.pagebreak {page-break-before: always} }&lt;/p&gt;
&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;And here's my HTML code invoking the page break:&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p&gt;&amp;lt;span class="pagebreak"&amp;gt;&amp;lt;/span&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Bottom line, this works great when I print the HTML file through my web browser, using the Adobe PDF printer device. However, when converting the HTML file through Adobe Acrobat, this print-related setting is ignored. Obviously, printing and converting a file isn't technically identical but as I said, it's for virtually all intents and purposes the same procedure.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm guessing that someone at the Adobe HQ must have thought through this issue during a brainstorming session and come up with a simple yet elegant solution to cater for the needs of those who want to use custom page breaks when converting their HTML documents directly through Adobe Acrobat. Maybe a simple setting somewhere or a custom CSS tag like "@media adobe", or something similar?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3f627121-8ded-4b19-be2b-b2d260297d33] --&gt;</description>
      <pubDate>Sun, 29 Jun 2014 15:31:33 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1509909</guid>
      <dc:date>2014-06-29T15:31:33Z</dc:date>
      <clearspace:dateToText>4 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>HTML+CSS conversion issue with nth-child() selector</title>
      <link>https://forums.adobe.com/thread/1223493</link>
      <description>&lt;!-- [DocumentBodyStart:4e032577-0a61-4a94-b4d4-865f6c80d136] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Why doesn't Adobe Acrobat XI Pro convert the below HTML code correctly when I try to create a PDF from it?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I've simplified the actual code significanly in order to present the problem in its simplest possible form. The code below uses the CSS "counter" feature to modify &amp;lt;li&amp;gt; elements according to a specific pattern. This code enumerates and indents every third line in the progression 1,4,7,10,13, ...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In Firefox and Internet Explorer, this code is displayed correctly, but Acrobat XI Pro ignores the lines with the "nth-child(3n+1)" selector which contain directives to hide line enumeration on non-matching lines and to indent text on matching lines. Acrobat XI Pro instead displays line enumeration for all lines and doesn't indent text on any line, as if the two directives containing the "nth-child(3n+1)" selector were not present at all.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is this a bug or is it an unsupported feature in Adobe Acrobat XI Pro?&lt;/p&gt;&lt;p&gt;Whichever the case, any suggestions on a not too labourious alternative method to achieve the same result?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;As things are, I've been forced to resort to using the so called "poor man's nth-child selector" workaround (abouthalf.com/development/poor-mans-nth-child-selector-for-ie-7-and-8/), which requires manual specification of each line's content with ever-increasing code extension/repetition. It gets the job done, but in a very messy and time-consuming way, and it only works with pre-defined static content. In terms of size, the difference is that of less than 1kb CSS file size when using the nth-child() selector vs more than 75kb CSS file size when using the above mentioned workaround, for a 250 line predefined stylesheet.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Surely there has to be a better way to deal with this issue? Support for a core HTML/CSS feature that generates ordered layout patterns for line enumeration, indentation, etc, would seem like a top priority feature to support in a product such as Adobe Acrobat Pro, given its focus on page layout...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;&amp;lt;html&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;head&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;style type="text/css"&amp;gt;&lt;/p&gt;&lt;p&gt;body { margin: 75px 90px; }&lt;/p&gt;&lt;p&gt;li { list-style-type: none; counter-increment: listing; }&lt;/p&gt;&lt;p&gt;li:after { content: counter(listing); float: right; margin-right: -2em;&amp;nbsp; visibility: visible; }&lt;/p&gt;&lt;p&gt;li:not(:nth-child(3n+1)):after { visibility: hidden; }&lt;/p&gt;&lt;p&gt;li:nth-child(3n+1) { text-indent: 25px; }&lt;/p&gt;&lt;p&gt;&amp;lt;/style&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;/head&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;body&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;li&amp;gt;Line One&amp;lt;/li&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;li&amp;gt;Line Two&amp;lt;/li&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;li&amp;gt;Line Three&amp;lt;/li&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;li&amp;gt;Line Four&amp;lt;/li&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;li&amp;gt;Line Five&amp;lt;/li&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;li&amp;gt;Line Six&amp;lt;/li&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;li&amp;gt;Line Seven&amp;lt;/li&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;li&amp;gt;Line Eight&amp;lt;/li&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;li&amp;gt;Line Nine&amp;lt;/li&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;li&amp;gt;Line Ten&amp;lt;/li&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/body&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;/html&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4e032577-0a61-4a94-b4d4-865f6c80d136] --&gt;</description>
      <pubDate>Fri, 31 May 2013 22:46:23 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1223493</guid>
      <dc:date>2013-05-31T22:46:23Z</dc:date>
      <clearspace:dateToText>1 year 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

