Jun 8, 2004 #1 SFiend Programmer Joined Jun 4, 2004 Messages 39 Location CZ Hi, Is there an order that says to the printer to start printing on a new page? eg. I want to print just a half of the text on page #1 and then use the order to print the rest of the text on the page #2. In C++ it is \f Thank you.
Hi, Is there an order that says to the printer to start printing on a new page? eg. I want to print just a half of the text on page #1 and then use the order to print the rest of the text on the page #2. In C++ it is \f Thank you.
Jun 8, 2004 #2 peacecodotnet Programmer Joined May 17, 2004 Messages 123 Location US Is there an order that says to the printer to start printing on a new page? Click to expand... Do you mean to print to a printer? As far as I know, you can't print to a printer with PHP, because it is server side. Do you mean "print" as in using the print statement, like: print "Here is the text"; Peace out, Peace Co. Upvote 0 Downvote
Is there an order that says to the printer to start printing on a new page? Click to expand... Do you mean to print to a printer? As far as I know, you can't print to a printer with PHP, because it is server side. Do you mean "print" as in using the print statement, like: print "Here is the text"; Peace out, Peace Co.
Jun 8, 2004 #3 dkdude Programmer Joined Jun 16, 2003 Messages 849 Location DK Hi, What you're asking should be asked in the HTML/CSS forum §;O) Having said that, here's what you need: Consider the two CSS properties, [tt]page-break-after[/tt] and [tt]page-break-before[/tt]. This example will force a page break after the paragraph: Code: ... <P STYLE="page-break-after:always;">This is page one</P> <P STYLE="page-break-after:always;">This is page two</P> ... If you need more help on this, try this forum instead: forum215 Good Luck §;O) Jakob Upvote 0 Downvote
Hi, What you're asking should be asked in the HTML/CSS forum §;O) Having said that, here's what you need: Consider the two CSS properties, [tt]page-break-after[/tt] and [tt]page-break-before[/tt]. This example will force a page break after the paragraph: Code: ... <P STYLE="page-break-after:always;">This is page one</P> <P STYLE="page-break-after:always;">This is page two</P> ... If you need more help on this, try this forum instead: forum215 Good Luck §;O) Jakob
Jun 8, 2004 Thread starter #4 SFiend Programmer Joined Jun 4, 2004 Messages 39 Location CZ Yes, that's what I need. Thank you very much Upvote 0 Downvote