Solved

Page Breaker

Posted on 2003-11-17
3
332 Views
Last Modified: 2012-06-21
Hi,

I am printing my web page to Acrobat.  I was wondering if I could set page break somewhere??  Thanks.
0
Comment
Question by:mcrmg
3 Comments
 
LVL 9

Assisted Solution

by:Dang123
Dang123 earned 120 total points
ID: 9782020
Since you are printing your own web page you could use CSS to force the page to break. This works with IE 5.5 and above (possibly 5.0 also but not sure).


<html>
<head>
    <title>Test Page</title>
</head>
<body>
    <p>This is some test text</p>
    <p style="page-break-before: always">This is some more test text printed on a new page!</p>
</body>
</html>
0
 
LVL 4

Accepted Solution

by:
antonieraj earned 130 total points
ID: 9787949

Hi

Dang123 method of Page-break is gives your expected out of pdf with page breaks

<p style="page-break-before: always">
<p style="page-break-after: auto">

There are additional page-break attributes of

always <-> Always insert a page break before the object.
auto <->Default. Neither force nor forbid a page break before the object.
empty <->string Do not insert a page break.
left <-> Currently works the same as always.
right <->Currently works the same as always.
 
U can preview the output file  in I.E -> File-> Print Preview ->

Before creating the pdf file with pdf writer or Adobe distriller

0
 

Author Comment

by:mcrmg
ID: 9788279
Thank you very much..
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PDF Digital Signatures 3 98
PDF files Slow openning 8 97
what font behind pdf 32 136
How to make best use the security options in Adobe Acrobat XI Pro 11.0.18? 7 67
The ability to edit PDF documents can be useful, however it may not be a straight forward process. Many non-technical people don't realise that a PDF document is basically an image rather than a text file, even if it contains nothing but text. If…
*Adobe Acrobat 9 was used for this article.  Particular steps may vary depending on software versions. Adobe Acrobat has many, many variables that my be utilized to customize your forms for clarity and ease of use. The Form Editing Tool will be y…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question