problem with setting page limit

2012-12-27 Thread Adel ESSAFI
Dear list
I am trying to set a page limitation on F17 to a printer installed on a
server with manu system users.

At the begginig, things looks easy. Si I tryed this command

 /usr/sbin/lpadmin -p ML-4550-Series -o job-quota-period=604800 -o
job-page-limit=2
and I got this in   /etc/cups/printers.conf


Printer ML-4550-Series
UUID urn:uuid:5de5f6d4-255c-3e22-4f2f-77dd7d18eff1
Info ML-4550-Series
MakeModel Samsung ML-4600 - CUPS+Gutenprint v5.2.9 Simplified
DeviceURI usb://Samsung/ML-4550%20Series?serial=4821B1AB400658F
State Idle
StateTime 1356611816
Type 4116
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 604800
PageLimit 2
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
/Printer
(I restarted cups)
However, when I log as a normal user and print a file with many pages
(more than 2) , the print succeed ( the page limit option is set correctly).
Do you have an experience with this?

regards
Adel


-- 
PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
fax: +216 71 391 166
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: problem with setting page limit

2012-12-27 Thread Tim
Allegedly, on or about 27 December 2012, Adel ESSAFI sent:
 However, when I log as a normal user and print a file with many pages
 (more than 2) , the print succeed ( the page limit option is set
 correctly).

I've never tried setting page limits, but I have noticed (in the past)
that programs print multiple pages in different ways.  Either by sending
each page as a different job, or multiple pages as one job.

I don't know if page limits should apply to either method, but you might
want to try printing with different programs to see if it alters things.
Likewise, whether printing a three-page document or three copies of the
same page, makes any difference.

-- 
[tim@localhost ~]$ uname -rsvp
Linux 3.6.10-2.fc17.x86_64 #1 SMP Tue Dec 11 18:07:34 UTC 2012 x86_64

All mail to my mailbox is automatically deleted, there is no point
trying to privately email me, I will only read messages posted to the
public lists.



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org