Solved

Page Breaker

Posted on 2003-11-17
3
330 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Abobe Reader XI - Print with page numbers 3 51
PDF: Display my cards game? 8 98
pdf file 7 82
stamp tool on acrobat 1 38
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…
This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now