Hi Amit, I personally do not have an answer to your query, but I'm attaching it to the Ubuntu lists.
Hope someone replies back to you. Thanks, Raseel http://raseel.in P.S. I have deliberately top-posted since my reply was indistinguishable when bottom-posted. Please make sure all the replies to this follow the correct mailing list etiquettes. ---------- Forwarded message ---------- From: <[email protected]> Date: Thu, May 14, 2009 at 6:01 PM Subject: lpadmin command not working To: Raseel Bhagat <[email protected]> Cc: "[email protected]" <[email protected]> Hi Raseel, I am not getting reply to following query. Is my registration is wrong or anything else i have to do? Kindly suggest as this is my 2nd mail to this forum & no reply till date from any group member. Hi all, I have a very good query related to printer sharing using CUPS. Following is the scenario... I had installed HP laserjet 9040Dn printer on fedora 10 box. But unable to set option lpadmin -p printer -o job-quota-period=604800 -o job-page-limit=100. Going after lot of forums, i found that printer should support "job-page-limit" option. Whatever drivers installed for printer are current drivers & ie also from HP site only. HP doesant support linux OS.So no support from there. Following is the o/p of lpoptions -l command for the above printer. HPOption_Tray1/Tray 1: True *False HPOption_2000_Sheet_Tray/2000-Sheet Input Tray (Tray 4): True *False HPOption_Duplexer/Duplex Unit: True *False HPOption_Disk/Printer Disk: *None RAMDisk HardDisk HPOption_MBM_Mixed/Accessory Output Bins: *Standard MBMStacker MBMStaplerStacker HPFinisher HPMultiBinMailbox HPMailboxMode/Mailbox Mode: *PrintersDefault Standard MBMode StackerMode SeparatorMode SorterCollatorMode InstalledMemory/Total Printer Memory: *64-127MB 128-255MB 256-383MB 384-512MB HPOption_PaperPolicy/Fit to Page: *PromptUser NearestSizeAdjust NearestSizeNoAdjust HPJobRetentionOption/Job Retention: HPJobRetentionQuickCopy HPJobRetentionProof HPJobRetentionStore *HPJobRetentionOff HPUserName/User Name: *FileSharingName Forms Set HPJobName/Job Name: *DocName Set HPwmSwitch/Watermark/Overlay: *Off Watermark Overlay HPwmPages/Watermark Pages: *AllPages FirstPage HPwmTextMessage/Watermark Text: *Draft CompanyConfidential CompanyProprietary CompanyPrivate Confidential Copy Copyright FileCopy Final ForInternalUse Preliminary Proof ReviewCopy Sample TopSecret Urgent Set HPwmFontName/Watermark Font: CourierB *HelveticaB TimesB HPwmFontSize/Watermark Size (points): pt24 pt30 pt36 pt42 *pt48 pt54 pt60 pt66 pt72 pt78 pt84 pt90 HPwmTextAngle/Watermark Angle: Deg90 Deg75 Deg60 *Deg45 Deg30 Deg15 Deg0 DegN15 DegN30 DegN45 DegN60 DegN75 DegN90 HPwmTextStyle/Watermark Style: Thin *Medium Thick Halo Fill HPwmBrightness/Watermark Intensity: Darkest Darker Dark MediumDark *Medium MediumLight Light Lighter Lightest OutputBin/Output Destination: *PrinterDefault Left StackerFaceUp Stacker HP8BinMB UStapler HPBooklet HPStaplerOptions/Finishing Options: *PrintersDefault 1diagonal 1parallel 2parallel 3parallel 6parallel HPBooklet HPMailboxOptions/Mailbox Options: *PrintersDefault Bin1 Bin2 Bin3 Bin4 Bin5 Bin6 Bin7 Bin8 Bin1_8 HPEdgeToEdge/Edge-To-Edge Printing: *False True HPRotate180/Rotate Page 180 deg: *False True Collate/Collate: *True False PageSize/Media Size: *Letter LetterSmall Legal LegalSmall Executive HalfLetter w612h935 Tabloid 12X18 A3 RA3 A4 A4Small A5 B5 B4 w612h936 DoublePostcard w774h1116 w558h774 EnvISOB5 Env10 EnvC5 EnvDL EnvMonarch Custom.WIDTHxHEIGHT InputSlot/Media Source: Tray1 *Tray2 Tray3 Tray4Optional ManualFeed/Tray 1 (Manual): True *False MediaType/Media Type: *Unspecified Plain Preprinted Letterhead Transparency Prepunched Labels Bond Recycled Color CardStock164 Rough Envelope Duplex/Duplex: *None DuplexNoTumble DuplexTumble HPHalftone/Levels of Gray: *PrinterDefault Enhanced Standard Resolution/Printer Resolution: 600x600dpi *600x600x2dpi HPEconoMode/EconoMode: *PrinterDefault True False Smoothing/Resolution Enhancement: *PrinterDefault None Light Medium Dark As per problem description , it seems it is a cups issue. Kindly guide as quota is not working even if i edit file /etc/cups/printers.conf & make manual entry. I am looking for the solution of this problem since last 3 months. If anybody have any hint pls let me know.
-- ubuntu-in mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
