Dear all, Can any body help m on this to resolve my issue permanently. I m almost done, but one bug is creating problem & unable to resolve it as per mail reply from one of our colgn niranjan.ashok. Following command is not working on my system ie $ svn co http://svn.easysw.com/public/cups/branches/branch-1.3/. Its showing error as " could not resolve hostname, host not found". Following is the actual scenarion :- I have a very good query related to printer sharing using samba. >> Following >>>> is the scenario... >>>> I had installed HP laserjet 9040Dn printer on redhat Enterprise linux > 5. >>>> Shared it using samba. Used winbind protocol to integrate linux with >>>> windows AD 2003. Now i am able to see printer in Active directory as >> well >>>> as linux computer account in AD. 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. >>> >>> As per problem description , it seems it is a cups issue than samba >> issue . >>> >>> >>> When you set the limits using lpadmin command, does the limit show in >>> /etc/cups/printers.conf ? >>> >>> ie. when you run " lpadmin -p printer -o job-quota-period=604800 -o >>> job-page-limit=100" does these limits show in /etc/cups/printers.conf >>> in the "printer" definition section ?
Regards Amit Sudhir Anjarlekar Asst. Systems Engr. Tata Consultancy Services Mailto: amit.anjarle...@tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ ----- Forwarded by Amit Anjarlekar/MUM/TCS on 05/08/2009 01:40 PM ----- mallapadi niranjan <niranjan.as...@g To mail.com> amit.anjarle...@tcs.com cc 05/07/2009 04:49 PM Subject Re: [Samba] HP Laserjet Printer Installation Hi amit I am sorry , due to my other commitments, i cannot at present give you a step by step guide in my previous post, i told to run svn command $ svn co http://svn.easysw.com/public/cups/branches/branch-1.3/ svn is the command and co is to checkout the branch, So on the system in question, you need to run the above command. if in case you still have issues, take this issue to cups mailing list, bye niranjan On Tue, May 5, 2009 at 4:44 PM, <amit.anjarle...@tcs.com> wrote: > Hi mallapadi, > Thanks for replying my mail till date. I just want to conclude now as how > do i fix this bug? If i go to following URL, lot of files & folders are > present. Do u have a simple procedure for doing this activity. Actually i m > also new to linux & thats why unable to conclude as how do i go for the > same? > http://svn.easysw.com/public/cups/branches/branch-1.3/ > > Pls guide step by step procedure if possible to resolve the issue. > > Thanks & regards > Amit Sudhir Anjarlekar > Asst. Systems Engr. > Tata Consultancy Services > Mailto: amit.anjarle...@tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Outsourcing > ____________________________________________ > > > > mallapadi > niranjan > <niranjan.as...@g To > mail.com> amit.anjarle...@tcs.com > cc > 04/28/2009 11:47 > AM Subject > Re: [Samba] HP Laserjet Printer > Installation > > > > > > > > > > > Hi, > > > The FC10 cups package too doesn't have the fix , > > As i have mentioned before, you need to download the svn repo from > cups.org ., compile and install it > > > As per you description, the exact bugzilla is > > http://www.cups.org/str.php?L3077 > http://www.cups.org/str.php?L3078 > > > As per the above bug, mike has fixed in the svn version 1.3.9 and > 1.4-current > > > So you need to check out the svn version > > ie run the below command > > svn co http://svn.easysw.com/public/cups/trunk/ cups (this command > will download the cups-1.4) > > or you can download the fixed cups-1.3.9 from svn > svn co http://svn.easysw.com/public/cups/branches/branch-1.3/ cups-1.3.9 > > > Regards > niranjan > On Mon, Apr 27, 2009 at 6:42 PM, <amit.anjarle...@tcs.com> wrote: >> Hi , >> After upgrading to latest version, still lpadmin with quota command not >> working. Any idea or any file needs to edit? Kindly suggest. >> Following is scrnshot for ur ref.. I tried by installing fedora 10 as it >> has the latest cups version. >> >> Name : cups Relocations: (not relocatable) >> Version : 1.3.9 Vendor: Fedora Project >> Release : 2.fc10 Build Date: Tue 21 Oct 2008 >> 03:58:44 PM IST >> Install Date: Wed 22 Apr 2009 10:10:50 AM IST Build Host: >> x86-4.fedora.phx.redhat.com >> Group : System Environment/Daemons Source RPM: >> cups-1.3.9-2.fc10.src.rpm >> Size : 10653448 License: GPLv2 >> Signature : DSA/SHA1, Tue 28 Oct 2008 10:24:22 PM IST, Key ID >> bf226fcc4ebfc273 >> Packager : Fedora Project >> URL : http://www.cups.org/ >> Summary : Common Unix Printing System >> >> Regards >> Amit Sudhir Anjarlekar >> Asst. Systems Engr. >> Tata Consultancy Services >> Mailto: amit.anjarle...@tcs.com >> Website: http://www.tcs.com >> ____________________________________________ >> Experience certainty. IT Services >> Business Solutions >> Outsourcing >> ____________________________________________ >> >> >> >> Amit >> Anjarlekar/MUM/TC >> S To >> mallapadi niranjan >> 04/14/2009 03:42 <niranjan.as...@gmail.com>, >> PM sa...@lists.samba.org >> cc >> >> Subject >> Re: [Samba] HP Laserjet Printer >> Installation(Document link: Amit >> Anjarlekar) >> >> >> >> >> >> >> >> >> >> Hi, >> Also i m not able to find PID file for cups as well PID no. for cups > using >> command >> ps -ef | grep cups >> Following is the o/p for rpm -qi cups command >> Name : cups Relocations: (not relocatable) >> Version : 1.2.4 Vendor: Red Hat, Inc. >> Release : 11.5.el5 Build Date: Tue 12 Dec 2006 >> 05:02:44 PM IST >> Install Date: Sat 07 Mar 2009 11:59:04 AM IST Build Host: >> ls20-bc1-13.build.redhat.com >> Group : System Environment/Daemons Source RPM: >> cups-1.2.4-11.5.el5.src.rpm >> Size : 8201990 License: GPL >> Signature : DSA/SHA1, Wed 17 Jan 2007 10:28:48 PM IST, Key ID >> 5326810137017186 >> Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> >> URL : http://www.cups.org/ >> Summary : Common Unix Printing System >> Description : >> The Common UNIX Printing System provides a portable printing layer for >> UNIX® operating systems. It has been developed by Easy Software Products >> to promote a standard printing solution for all UNIX vendors and users. >> CUPS provides the System V and Berkeley command-line interfaces. >> >> Not updating to latest one too.. But below file shows updated status >> vi /etc/cups/printers.conf >> # Printer configuration file for CUPS v1.4b2 >> # Written by cupsd on 2009-04-14 14:36 >> >> Please let m know anything can b added in this case.. >> >> >> Regards >> Amit Sudhir Anjarlekar >> Asst. Systems Engr. >> Tata Consultancy Services >> Mailto: amit.anjarle...@tcs.com >> Website: http://www.tcs.com >> ____________________________________________ >> Experience certainty. IT Services >> Business Solutions >> Outsourcing >> ____________________________________________ >> >> >> >> >> Amit >> Anjarlekar/MUM/TC >> S To >> mallapadi niranjan >> 04/14/2009 01:15 <niranjan.as...@gmail.com> >> PM cc >> >> Subject >> Re: [Samba] HP Laserjet Printer >> Installation(Document link: Amit >> Anjarlekar) >> >> >> >> >> >> >> >> >> >> Hi niranjan, >> Thanks for the support .. Can u just guide as where do i chk init script >> that you are using point to the newly compiled cupsd? >> Log file i m not getting anything related to this. >> Pls advise. >> Thanks in advance.. >> >> Regards >> Amit Sudhir Anjarlekar >> Asst. Systems Engr. >> Tata Consultancy Services >> Mailto: amit.anjarle...@tcs.com >> Website: http://www.tcs.com >> ____________________________________________ >> Experience certainty. IT Services >> Business Solutions >> Outsourcing >> ____________________________________________ >> >> >> >> >> mallapadi >> niranjan >> <niranjan.as...@g To >> mail.com> amit.anjarle...@tcs.com >> cc >> 04/13/2009 10:37 >> PM Subject >> Re: [Samba] HP Laserjet Printer >> Installation >> >> >> >> >> >> >> >> >> >> >> Hi amit >> >> Also one thing i forgot to mention ie after installation of latest >> cups service cups restart is showing following error: >> cups: restarted scheduler. [ OK ] >> Cups service not starting. Can u guide as what may b the reason. I >> followed the procedure from INSTALL.txt file. >> >> >> Does the init script that you are using point to the newly compiled cupsd >> Also, it can be possible that cupsd process is already running and you >> are trying to start the cupsd process again. >> >> check what messages are reported in /var/log/cups/error.log or >> appropriate error log file. >> >> Regards >> Niranjan >> >> On Mon, Apr 13, 2009 at 3:07 PM, <amit.anjarle...@tcs.com> wrote: >>> >>> Hi, >>> Its not reflecting in /etc/cups/printers.conf file . Even if i am >> manually >>> adding the entry, is also not working. Pls suggest. >>> >>> Regards >>> Amit Sudhir Anjarlekar >>> Asst. Systems Engr. >>> Tata Consultancy Services >>> Mailto: amit.anjarle...@tcs.com >>> Website: http://www.tcs.com >>> ____________________________________________ >>> Experience certainty. IT Services >>> Business Solutions >>> Outsourcing >>> ____________________________________________ >>> >>> >>> mallapadi niranjan <niranjan.as...@gmail.com> >>> >>> 04/13/2009 02:04 PM >>> >>> To >>> amit.anjarle...@tcs.com >>> cc >>> Subject >>> Re: [Samba] HP Laserjet Printer Installation >>> >>> >>> >>> >>> Hi Amit >>> >>> On Mon, Apr 13, 2009 at 1:18 PM, <amit.anjarle...@tcs.com> wrote: >>>> Hi all, >>>> I have a very good query related to printer sharing using samba. >> Following >>>> is the scenario... >>>> I had installed HP laserjet 9040Dn printer on redhat Enterprise linux > 5. >>>> Shared it using samba. Used winbind protocol to integrate linux with >>>> windows AD 2003. Now i am able to see printer in Active directory as >> well >>>> as linux computer account in AD. 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. >>> >>> As per problem description , it seems it is a cups issue than samba >> issue . >>> >>> >>> When you set the limits using lpadmin command, does the limit show in >>> /etc/cups/printers.conf ? >>> >>> ie. when you run " lpadmin -p printer -o job-quota-period=604800 -o >>> job-page-limit=100" does these limits show in /etc/cups/printers.conf >>> in the "printer" definition section ? >>> >>> <Printer test> >>> Info test >>> DeviceURI socket://10.65.63.223 >>> State Idle >>> StateTime 1239611318 >>> Accepting Yes >>> Shared Yes >>> JobSheets none none >>> QuotaPeriod 604800 >>> PageLimit 100 >>> KLimit 0 >>> OpPolicy default >>> ErrorPolicy stop-printer >>> </Printer> >>> >>> If not then it's a cups issue . >>> >>> >>> What is the version of cups you are using ? >>> >>> rpm -q cups >>> >>> >>> >>> >>> >>> >>>> >>>> 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 MBMStaplerStacker >>>> MBMStacker 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 Upper Left StackerFaceUp >>>> Stacker UStapler HPBooklet HP8BinMB >>>> 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 >>>> PageRegion/PageRegion: 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 >>>> 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 >>>> >>>> In this i am not able to find "job-page-limit" option. Any idea as how >> do >>>> i set ? Any setting @ printer end or anything drivers update @ redhat >> end? >>>> Kindly suggest? >>>> >>>> Regards >>>> Amit Sudhir Anjarlekar >>>> Asst. Systems Engr. >>>> Tata Consultancy Services >>>> Mailto: amit.anjarle...@tcs.com >>>> Website: http://www.tcs.com >>>> ____________________________________________ >>>> Experience certainty. IT Services >>>> Business Solutions >>>> Outsourcing >>>> ____________________________________________ >>>> =====-----=====-----===== >>>> Notice: The information contained in this e-mail >>>> message and/or attachments to it may contain >>>> confidential or privileged information. If you are >>>> not the intended recipient, any dissemination, use, >>>> review, distribution, printing or copying of the >>>> information contained in this e-mail message >>>> and/or attachments to it are strictly prohibited. If >>>> you have received this communication in error, >>>> please notify us by reply e-mail or telephone and >>>> immediately and permanently delete the message >>>> and any attachments. Thank you >>>> >>>> >>>> -- >>>> To unsubscribe from this list go to the following URL and read the >>>> instructions: https://lists.samba.org/mailman/options/samba >>>> >>> >>> ForwardSourceID:NT00021F46 >>> >>> =====-----=====-----===== >>> Notice: The information contained in this e-mail >>> message and/or attachments to it may contain >>> confidential or privileged information. If you are >>> not the intended recipient, any dissemination, use, >>> review, distribution, printing or copying of the >>> information contained in this e-mail message >>> and/or attachments to it are strictly prohibited. If >>> you have received this communication in error, >>> please notify us by reply e-mail or telephone and >>> immediately and permanently delete the message >>> and any attachments. Thank you >>> >>> >>> >> >> ForwardSourceID:NT00021F96 >> >> ForwardSourceID:NT00022136 >> ForwardSourceID:NT0002215A >> >> =====-----=====-----===== >> Notice: The information contained in this e-mail >> message and/or attachments to it may contain >> confidential or privileged information. If you are >> not the intended recipient, any dissemination, use, >> review, distribution, printing or copying of the >> information contained in this e-mail message >> and/or attachments to it are strictly prohibited. If >> you have received this communication in error, >> please notify us by reply e-mail or telephone and >> immediately and permanently delete the message >> and any attachments. Thank you >> >> >> >> > > ForwardSourceID:NT000233FE > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > > ForwardSourceID:NT00023E4E =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba