using CUPS to set page limits on Leopard with shared printers

Hello all,

I'm attempting to share a printer (HP LaserJet 5200) connected via USB with a lab of iMacs. All machines are running Leopard. The version of cups is 1.3.8. I have configured the printer on the "server" machine using the web interface. I have tried two methods of setting page limits, both the command line entry (sudo lpadmin -p printerName -o job-page-limit=100) and editing the /etc/cups/printer.conf file to reflect the limit I want.

When I print, however, the limits are not obeyed. They still appear in the config file, but printing from both the host machine and the client machines on the LAN is not affected by the limits. Does anyone have any idea what is overriding the config files or why they are not affecting the printing process?

Many thanks,

-Scott

iMac G4 1.25 GHz, Mac OS X (10.5.5), Printer is HP LaserJet 5200

Posted on Nov 3, 2008 12:59 PM

Reply
8 replies

Nov 4, 2008 12:45 PM in response to John Blanchard1

hi John, this is what is registered in the log:

printer sp67 9 [03/Nov/2008:09:50:46 -0500] 1 1DEBUG: Read 8192 bytes of print data... - fe80::222:41ff:fe2a:8948%en0
printer sp67 10 [03/Nov/2008:09:51:33 -0500] 1 1DEBUG: Read 8192 bytes of print data... - fe80::222:41ff:fe2a:8948%en0
printer sp67 15 [04/Nov/2008:13:19:34 -0500] 1 1 - 128.36.43.202
printer sp67 16 [04/Nov/2008:13:21:18 -0500] 1 1 - 128.36.43.202

I've recently installed the beta 1.4 version, and I now quotas *sort of* work... that is, I get the "quota exceeded" notification when I run jobs from the command line (using lp), but if I immediately run the same command again, it forgets about the quota and prints anyway.

The same appears to happen from a remote machine; first an error is given, but if i attempt to print again, it goes through...

Many thanks for your assistance.

-S

Nov 6, 2008 6:03 AM in response to John Blanchard1

Thanks John, I appreciate your help. I've been looking at this thing from many different angles, and it just doesn't seem to be a robust system. There are too many entry-exit points of administration, and the GUI-CUPS interaction seems like it is not fully compatible... for example, printing (at least for me) from a GUI program works differently than printing from the command line; the printer list may or may not be different, the quotas and job specs in printers.conf are or are not obeyed. It is difficult to understand why this is.

Anyway, I appreciate your time addressing this matter, and to the forum for its many answers and insights.

-S

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

using CUPS to set page limits on Leopard with shared printers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.