SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict y_oda2002's Avatar
    Join Date
    May 2005
    Posts
    219
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Printing on new page

    Hi everyone,

    Im guessing javascript should be able to handle this.
    Is there a way to force text to print on a new page.
    Not print on the screen. But print through a peripheral printing device onto a new page.

    Example.
    If I have this text:
    Code:
    Hello World
    First Page
    
    Hello World
    Second Page
    Does anyone know how I can force the "Hello World Second Page" to print on a new piece of paper?

    Thanks,

    Nick
    Nicholas Rhodes
    Asgard Development
    http://www.asgard-dev.com

  2. #2
    SitePoint Wizard chris_fuel's Avatar
    Join Date
    May 2006
    Location
    Ventura, CA
    Posts
    2,750
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This isn't really something javascript is suitable for. That said I don't think that's even possible (heck, even print through javascript alone is flaky).

  3. #3
    SitePoint Addict y_oda2002's Avatar
    Join Date
    May 2005
    Posts
    219
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah man...
    That's what I was starting to figure..
    I've been lookin for a way to print like that for days now...

    Thanx though..
    Guess I'll just two print links to seperate pages... ...
    But you'll have that...

    Nick
    Nicholas Rhodes
    Asgard Development
    http://www.asgard-dev.com

  4. #4
    Ding Fries are Done! inter4design's Avatar
    Join Date
    Mar 2003
    Location
    usa
    Posts
    386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    possibly try using the "page-break" css rule, but that isnt always reliable
    DoesItMatter
    - anyone seen my underwear?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •