Results 1 to 5 of 5

Thread: Adding a header to printed documents

  1. #1

    Post Adding a header to printed documents

    Ok, what I'm trying to do is have SuSE add a header to the top of documents that I print. Ideally it would add the computer's name or some customized tag. Is there a way to do this beyond adding tags in OpenOffice or whatever? I need to print from multiple applications, many of which have no option to add headers.

    I have looked through the printer configuration windows with nothing of note comming up. I tried searching the forums as well as Google but there is no simple way to phrase what I'm trying to do.

    Any help would be greatly appreciated!
    It's cool, I read it on the INTERNET.

  2. #2
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: Adding a header to printed documents

    Crix Maydine wrote:

    >
    > Ok, what I'm trying to do is have SuSE add a header to the top of
    > documents that I print. Ideally it would add the computer's name or
    > some customized tag. Is there a way to do this beyond adding tags in
    > OpenOffice or whatever? I need to print from multiple applications,
    > many of which have no option to add headers.
    >
    > I have looked through the printer configuration windows with nothing of
    > note comming up. I tried searching the forums as well as Google but
    > there is no simple way to phrase what I'm trying to do.
    >
    > Any help would be greatly appreciated!
    >
    >

    Are you looking to add a 'header' to each page? or a leading page with
    information?

    "add header to top of documents I print".... hmmm, ok.

    It *could* be done. Not *that* difficult, but not exactly easy either.

    just Brainstorming here, but to me, you'd need to capture the output of a
    print job, possibly shrink it a tiny amount, add the header info at the
    top, and then print it.

    *Could* be done using CUPS' backend systems, and they deal with postscript
    as an interim format, which lends itself easily to being encapsulated,
    rescaled, and added to documents...

    Yeah... doable.

    Not simple though, but not overly complex.

    Now, if you were to desire a simple banner page, which would be printed out
    prior to a job, that's easily chosen from the printer setup configuration
    in YaST or CUPS.

    Hope that helps

    Loni

    --
    L R Nix
    lornix@lornix.com

  3. #3

    Default Re: Adding a header to printed documents

    Banner pages are a great idea. I tested it out and it worked pretty well.

    Two questions though. How do I gte banner pages to print before all print jobs? It only seems to apply to OpenOffice currently.

    How can I change what's on the banner page? the Job ID is trying to print the super long driver name before anythig useful. Can I add the computer name to this banner page some how?
    It's cool, I read it on the INTERNET.

  4. #4
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: Adding a header to printed documents

    Crix Maydine wrote:

    >
    > Banner pages are a great idea. I tested it out and it worked pretty
    > well.
    >
    > Two questions though. How do I gte banner pages to print before all
    > print jobs? It only seems to apply to OpenOffice currently.
    >
    > How can I change what's on the banner page? the Job ID is trying to
    > print the super long driver name before anythig useful. Can I add the
    > computer name to this banner page some how?
    >
    >


    Tried it here, yes, you're correct, OpenOffice prints banner pages, but
    Knode, kpdf and firefox don't. Each of those programs have print menu
    options to select banners or not, and I imagine they're overriding the
    default set on the printer.

    (And now my kitten is intently watching the printer... just in case more
    stuff comes out... crazy kitty!)

    Played with it a little, you CAN force SOME programs to output a banner, but
    again, it depends on whether they override the banner (job-sheets) settings
    themselves or not.

    Firefox is stubborn though. I tried to even have it piped through kprinter,
    which would have enabled the banner page as desired.. but it, uh, refused.

    Suse 11.0 is using version 1.3.7 of CUPS, and based on the bug/feature
    reports listed at cups.org, forcing banner pages will be an option in
    version 1.4.

    Feature Request for 'forced banner pages':
    http://www.cups.org/str.php?L618

    ===========

    Banner pages are saved in /usr/share/cups/banners

    Save your desired page there, give it 755 permissions, and restart cups

    (as root)
    cp mypage /usr/share/cups/banners
    chmod 755 /usr/share/cups/banners/mypage
    rccups restart

    More information can be found at the cups.org site:
    http://cups.org/articles.php?L204+T+P1+Qbanner







    --
    L R Nix
    lornix@lornix.com

  5. #5

    Default Re: Adding a header to printed documents

    Thank you so much! This should definately get me where I need to go.
    It's cool, I read it on the INTERNET.

Posting Permissions

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