CUPS Printing and username

Posted on 2005-05-03
Last Modified: 2013-12-02
Is there a way to force the cups printing in OS X to print the username on the header or footer of every document printed.
Question by:techbabblenet
    LVL 8

    Expert Comment

    I don't believe it is possible since CUPS can handle both PostScript and raw-data print jobs.
    Therefore it hasn't the possibility of opening and modifying prints before sending them to the printer.

    As you already know, with CUPS you can add starting and ending banners which can be customized to display user name and other informations. A brief guide on the subject can be found here:
    LVL 21

    Expert Comment

    It is possible using the IPP set label attribute, but you would have to edit the filter to acheive it.
    You could set the prettyprint option in lp which would give page number, date,and job name.
    Might help.

    However, I have no idea how you would go about it in OSX, I`m afraid, sorry.
    LVL 21

    Expert Comment

    Just a thought, if you want this for accounting purposes, cups has abuilt-in accounting log on linux this is stored in /var/log/cups
    there are various access, accounting and qouta tools available too.

    Author Comment

    the problem wiht the banners is it is a waste of paper.  it wouldnt have to be username it could be IP address if possible, if its not possible i guess we would just have to watch our students closer.
    LVL 21

    Expert Comment

    If you want accounting data, then the cups software supports it.
    LVL 5

    Accepted Solution

    You can make it so that an administrative coputer has to approve each item printed. I have seen that used in school libraries. It is very tedious if they are printing many items but if you have it so that every item submitted is submitted to a virtual printer or computer before it is sent to the printer it can be done. I am not sure of how to do this but that is one solution. This seems like it would also be a solution
    LVL 37

    Expert Comment

    No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
    I will leave a recommendation in the Cleanup topic area that this question is:
    Split newuser4 & wyliecoyoteuk
    Any objections should be posted here in the next 4 days. After that time, the question will be closed.


    EE Cleanup Volunteer

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    This article discusses the PaperPort 14 Scanner Connection Tool, which Nuance provides at no charge in order to fix scanning problems in Windows 8. Furthermore, users of PaperPort 14 in Windows 7 and Windows 10 have reported that the tool works in t…
    PaperPort 14.5 Patch 1 update is often not detected or downloaded automatically. This article provides direct download links to solve the problem for retail (non-bundled) versions of the Standard and Professional editions, as well as the Professiona…
    We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…
    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…

    759 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

    7 Experts available now in Live!

    Get 1:1 Help Now