PDA

View Full Version : Print to one page


mikeeusa
07-31-2004, 09:28 PM
I have a registration form on my website that I need to have printed to one page. When I do it on my machine and hit the "print this page" script button, it does print to one page. However, no one else seems to be able to! I have had different users with different systems try and they all report the second page starting in the same spot.

Why does it work on my machine and not on others :confused:

I know that some software offers a "fit to one page" option, so is there a script that will force the printer?

Mike

raf
08-01-2004, 09:19 AM
Welcome here!

If you need to control the layout of a printed page, then there is only one real solution : generate a PDF on the fly and open that in a browserwindow.

This invalves using a server side language like PHP (which has a PDF extension + there are a few clases to make it easier to dynamically create PDF's, like HTML to PDF converters) or ASP (where there are some components)

mikeeusa
08-16-2004, 04:16 AM
Sorry for the late "thanks". Got a bug and mis-handled it on top of a new install of a DVD drive that was creating problems especially with its software. Anyway, all lead to a system crash. Which is why the delay in responding.\

Doing it in a PDF!!! Why didn't I think of that?!? Sometimes the obvious is staring you right in the face. Thanks again, a PDF will solve the problem and without a bunch more coding. :)

raf
08-16-2004, 10:17 AM
You're welcome. Hope yu get it running :thumbsup: