Changeset 2344 for pykota/trunk/bin
- Timestamp:
- 07/08/05 18:52:50 (19 years ago)
- Location:
- pykota/trunk/bin
- Files:
-
- 12 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/autopykota
r2303 r2344 30 30 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 31 31 32 __doc__ = N_("""autopykota v% s (c) %s %s32 __doc__ = N_("""autopykota v%(__version__)s (c) %(__years__)s %(__author__)s 33 33 34 34 A tool to automate user account creation and initial balance setting. … … 51 51 If the user already exists, actual balance is left 52 52 unmodified. If unset, the default value is 0. 53 54 This program is free software; you can redistribute it and/or modify 55 it under the terms of the GNU General Public License as published by 56 the Free Software Foundation; either version 2 of the License, or 57 (at your option) any later version. 58 59 This program is distributed in the hope that it will be useful, 60 but WITHOUT ANY WARRANTY; without even the implied warranty of 61 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 62 GNU General Public License for more details. 63 64 You should have received a copy of the GNU General Public License 65 along with this program; if not, write to the Free Software 66 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 67 68 Please e-mail bugs to: %s""") 53 """) 69 54 70 55 class AutoPyKota(PyKotaTool) : -
pykota/trunk/bin/dumpykota
r2342 r2344 32 32 from pykota.dumper import DumPyKota 33 33 34 __doc__ = N_("""dumpykota v% s (c) %s %s34 __doc__ = N_("""dumpykota v%(__version__)s (c) %(__years__)s %(__author__)s 35 35 36 36 Dumps PyKota database's content. … … 122 122 Dumps all jobs printed between March 1st 2005 at midnight and 123 123 July 30th 2005 at 23 hours 46 minutes and 15 secondes included. 124 125 This program is free software; you can redistribute it and/or modify 126 it under the terms of the GNU General Public License as published by 127 the Free Software Foundation; either version 2 of the License, or 128 (at your option) any later version. 129 130 This program is distributed in the hope that it will be useful, 131 but WITHOUT ANY WARRANTY; without even the implied warranty of 132 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 133 GNU General Public License for more details. 134 135 You should have received a copy of the GNU General Public License 136 along with this program; if not, write to the Free Software 137 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 138 139 Please e-mail bugs to: %s""") 124 """) 140 125 141 126 if __name__ == "__main__" : -
pykota/trunk/bin/edpykota
r2324 r2344 33 33 from pykota.storage import PyKotaStorageError 34 34 35 __doc__ = N_("""edpykota v% s (c) %s %s35 __doc__ = N_("""edpykota v%(__version__)s (c) %(__years__)s %(__author__)s 36 36 37 37 A Print Quota editor for PyKota. … … 225 225 cost of each print job will be multiplied by zero before charging 226 226 his account. 227 228 This program is free software; you can redistribute it and/or modify 229 it under the terms of the GNU General Public License as published by 230 the Free Software Foundation; either version 2 of the License, or 231 (at your option) any later version. 232 233 This program is distributed in the hope that it will be useful, 234 but WITHOUT ANY WARRANTY; without even the implied warranty of 235 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 236 GNU General Public License for more details. 237 238 You should have received a copy of the GNU General Public License 239 along with this program; if not, write to the Free Software 240 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 241 242 Please e-mail bugs to: %s""") 227 """) 243 228 244 229 class EdPyKota(PyKotaTool) : -
pykota/trunk/bin/pkbanner
r2303 r2344 49 49 from pykota.tool import Tool, PyKotaToolError, crashed, N_ 50 50 51 __doc__ = N_("""pkbanner v% s (c) %s %s51 __doc__ = N_("""pkbanner v%(__version__)s (c) %(__years__)s %(__author__)s 52 52 53 53 Generates banners. … … 93 93 You'll find more examples in the sample configuration file included 94 94 in PyKota. 95 96 This program is free software; you can redistribute it and/or modify 97 it under the terms of the GNU General Public License as published by 98 the Free Software Foundation; either version 2 of the License, or 99 (at your option) any later version. 100 101 This program is distributed in the hope that it will be useful, 102 but WITHOUT ANY WARRANTY; without even the implied warranty of 103 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 104 GNU General Public License for more details. 105 106 You should have received a copy of the GNU General Public License 107 along with this program; if not, write to the Free Software 108 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 109 110 Please e-mail bugs to: %s""") 95 """) 111 96 112 97 class PyKotaBanner(Tool) : -
pykota/trunk/bin/pkbcodes
r2342 r2344 31 31 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 32 32 33 __doc__ = N_("""pkbcodes v% s (c) %s %s33 __doc__ = N_("""pkbcodes v%(__version__)s (c) %(__years__)s %(__author__)s 34 34 35 35 A billing codes Manager for PyKota. … … 79 79 $ pkbcodes --list "my*" 80 80 81 This will list all billing codes which name begins with "my". 82 83 This program is free software; you can redistribute it and/or modify 84 it under the terms of the GNU General Public License as published by 85 the Free Software Foundation; either version 2 of the License, or 86 (at your option) any later version. 87 88 This program is distributed in the hope that it will be useful, 89 but WITHOUT ANY WARRANTY; without even the implied warranty of 90 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 91 GNU General Public License for more details. 92 93 You should have received a copy of the GNU General Public License 94 along with this program; if not, write to the Free Software 95 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 96 97 Please e-mail bugs to: %s""") 81 This will list all billing codes which name begins with 'my'. 82 """) 98 83 99 84 class PKBcodes(PyKotaTool) : -
pykota/trunk/bin/pkhint
r2303 r2344 36 36 hasSNMP = 1 37 37 38 __doc__ = N_("""pkhint v% s (c) %s %s38 __doc__ = N_("""pkhint v%(__version__)s (c) %(__years__)s %(__author__)s 39 39 40 40 A tool to give hints on what accounting method is best for each printer. … … 59 59 If you don't pass any argument on the command line, all 60 60 printers will be analyzed. 61 62 This program is free software; you can redistribute it and/or modify 63 it under the terms of the GNU General Public License as published by 64 the Free Software Foundation; either version 2 of the License, or 65 (at your option) any later version. 66 67 This program is distributed in the hope that it will be useful, 68 but WITHOUT ANY WARRANTY; without even the implied warranty of 69 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 70 GNU General Public License for more details. 71 72 You should have received a copy of the GNU General Public License 73 along with this program; if not, write to the Free Software 74 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 75 76 Please e-mail bugs to: %s""") 61 """) 77 62 78 63 SNMPTESTS = [ \ -
pykota/trunk/bin/pkmail
r2303 r2344 34 34 from pykota.pdlanalyzer import PDLAnalyzer, PDLAnalyzerError 35 35 36 __doc__ = N_("""pkmail v% s (c) %s %s36 __doc__ = N_("""pkmail v%(__version__)s (c) %(__years__)s %(__author__)s 37 37 38 38 Email gateway for PyKota. … … 73 73 74 74 Use at your own risk ! 75 76 This program is free software; you can redistribute it and/or modify 77 it under the terms of the GNU General Public License as published by 78 the Free Software Foundation; either version 2 of the License, or 79 (at your option) any later version. 80 81 This program is distributed in the hope that it will be useful, 82 but WITHOUT ANY WARRANTY; without even the implied warranty of 83 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 84 GNU General Public License for more details. 85 86 You should have received a copy of the GNU General Public License 87 along with this program; if not, write to the Free Software 88 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 89 90 Please e-mail bugs to: %s""") 75 """) 91 76 92 77 -
pykota/trunk/bin/pkprinters
r2336 r2344 31 31 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 32 32 33 __doc__ = N_("""pkprinters v% s (c) %s %s33 __doc__ = N_("""pkprinters v%(__version__)s (c) %(__years__)s %(__author__)s 34 34 35 35 A Printers Manager for PyKota. … … 109 109 110 110 This will remove the hp2200 printer from the LexMark printer group. 111 112 This program is free software; you can redistribute it and/or modify 113 it under the terms of the GNU General Public License as published by 114 the Free Software Foundation; either version 2 of the License, or 115 (at your option) any later version. 116 117 This program is distributed in the hope that it will be useful, 118 but WITHOUT ANY WARRANTY; without even the implied warranty of 119 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 120 GNU General Public License for more details. 121 122 You should have received a copy of the GNU General Public License 123 along with this program; if not, write to the Free Software 124 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 125 126 Please e-mail bugs to: %s""") 111 """) 127 112 128 113 class PKPrinters(PyKotaTool) : -
pykota/trunk/bin/pykosd
r2303 r2344 38 38 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 39 39 40 __doc__ = N_("""pykosd v% s (c) %s %s40 __doc__ = N_("""pykosd v%(__version__)s (c) %(__years__)s %(__author__)s 41 41 42 42 An OSD quota monitor for PyKota. … … 75 75 and will last for 3 seconds (the default) each time. After five 76 76 iterations, the program will exit. 77 78 This program is free software; you can redistribute it and/or modify 79 it under the terms of the GNU General Public License as published by 80 the Free Software Foundation; either version 2 of the License, or 81 (at your option) any later version. 82 83 This program is distributed in the hope that it will be useful, 84 but WITHOUT ANY WARRANTY; without even the implied warranty of 85 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 86 GNU General Public License for more details. 87 88 You should have received a copy of the GNU General Public License 89 along with this program; if not, write to the Free Software 90 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 91 92 Please e-mail bugs to: %s""") 77 """) 93 78 94 79 -
pykota/trunk/bin/pykotme
r2303 r2344 32 32 from pykota.pdlanalyzer import PDLAnalyzer, PDLAnalyzerError 33 33 34 __doc__ = N_("""pykotme v% s (c) %s %s34 __doc__ = N_("""pykotme v%(__version__)s (c) %(__years__)s %(__author__)s 35 35 36 36 Gives print quotes to users. … … 72 72 input. The quote will list the job size, and the price the job 73 73 would cost on each printer. 74 75 This program is free software; you can redistribute it and/or modify 76 it under the terms of the GNU General Public License as published by 77 the Free Software Foundation; either version 2 of the License, or 78 (at your option) any later version. 79 80 This program is distributed in the hope that it will be useful, 81 but WITHOUT ANY WARRANTY; without even the implied warranty of 82 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 83 GNU General Public License for more details. 84 85 You should have received a copy of the GNU General Public License 86 along with this program; if not, write to the Free Software 87 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 88 89 Please e-mail bugs to: %s""") 74 """) 90 75 91 76 -
pykota/trunk/bin/repykota
r2303 r2344 37 37 from pykota import reporter 38 38 39 __doc__ = N_("""repykota v% s (c) %s %s39 __doc__ = N_("""repykota v%(__version__)s (c) %(__years__)s %(__author__)s 40 40 41 41 Generates print quota reports. … … 81 81 arguments representing users or groups names are ignored, and only the 82 82 current user/group is reported. 83 84 This program is free software; you can redistribute it and/or modify 85 it under the terms of the GNU General Public License as published by 86 the Free Software Foundation; either version 2 of the License, or 87 (at your option) any later version. 88 89 This program is distributed in the hope that it will be useful, 90 but WITHOUT ANY WARRANTY; without even the implied warranty of 91 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 92 GNU General Public License for more details. 93 94 You should have received a copy of the GNU General Public License 95 along with this program; if not, write to the Free Software 96 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 97 98 Please e-mail bugs to: %s""") 83 """) 99 84 100 85 class RePyKota(PyKotaTool) : -
pykota/trunk/bin/warnpykota
r2303 r2344 33 33 from pykota.storage import PyKotaStorageError 34 34 35 __doc__ = N_("""warnpykota v% s (c) %s %s35 __doc__ = N_("""warnpykota v%(__version__)s (c) %(__years__)s %(__author__)s 36 36 37 37 Sends mail to users over print quota. … … 79 79 arguments representing users or groups names are ignored, and only the 80 80 current user/group is reported. 81 82 This program is free software; you can redistribute it and/or modify 83 it under the terms of the GNU General Public License as published by 84 the Free Software Foundation; either version 2 of the License, or 85 (at your option) any later version. 86 87 This program is distributed in the hope that it will be useful, 88 but WITHOUT ANY WARRANTY; without even the implied warranty of 89 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 90 GNU General Public License for more details. 91 92 You should have received a copy of the GNU General Public License 93 along with this program; if not, write to the Free Software 94 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 95 96 Please e-mail bugs to: %s""") 81 """) 97 82 98 83 class WarnPyKota(PyKotaTool) :