diff options
author | Till Kamppeter <till.kamppeter@gmail.com> | 2016-02-13 22:22:24 -0200 |
---|---|---|
committer | Till Kamppeter <till.kamppeter@gmail.com> | 2016-02-13 22:22:24 -0200 |
commit | aa40a1e8fe0c4ed29d21c5f79e682ac7bef1c33f (patch) | |
tree | 66996e1a8b1ad790b09c0890ac7986873b7d435a /README | |
parent | 879e6db06338166657609930768f76d8d7e7afbb (diff) |
Imported Upstream version 2.0
Diffstat (limited to 'README')
-rw-r--r-- | README | 31 |
1 files changed, 15 insertions, 16 deletions
@@ -1,5 +1,5 @@ This is the BJNP protocol backend for CUPS -It works with cups 1.2 - 1.6 (verified) +It works with cups 1.2 - 1.7 (verified) CUPS-BJNP can be compiled standalone (when the cups-devel package or your OS equivalent is installed, e.g. for Fedora install cups-devel). @@ -40,16 +40,27 @@ directory. configure cups through the web frontend (https://localhost:631), e.g. try tab <administration> <find new printers> +Ink level reporting +=================== +Cups-bjnp reports ink levels to CUPS during printing. Many GUI tools like the Gnome +printer settings tools can show the current ink-levels and report warnings whwn ink +levels get low. + Debugging ========= If you have problems, you may want to set the debugging level. To debug printer detection you can set the environment variable BJNP_DEBUG -export BJNP_DEBUG=DEBUG2 (for sh or bash) or -setenv BJNP_DEBUG DEBUG2 (for csh or tcsh) +export BJNP_DEBUG_LEVEL=DEBUG2 (for sh or bash) or +setenv BJNP_DEBUG_LEVEL DEBUG2 (for csh or tcsh) + +The filename can be set by setting BJNP_DEBUG_FILE in similar way. To debug printing, you can add the debug level as part of the printer URI: -DeviceURI bjnp://printer-1.pheasant:8611/?debuglevel=DEBUG2 +DeviceURI bjnp://printer-1.pheasant:8611/?debuglevel=DEBUG2 or +bnp:///printer-1.pheasant:8611/?debuglevel=DEBUG2+debugfile=./log to log to +the file ./log. Normally this is not required as a logfile in the cups +log directory is used when no name is defined. In both cases the debuglevel is set to one of the cups debuglevels (see cups documentation: http://www.cups.org/documentation.php/man-filter.html) @@ -74,16 +85,4 @@ outgoing packets will be allowed by the rule above. Responses from the printer are sent back to the computer TO port 8611. Connection tracking however does not see a match. You will therefore have to allow packets received TO port 8611 as well. -Louis Lagendijk louis.lagendijk@gmail.com - -ChangeLog -2012-08-31 Added IPv6 support - Refactored into a number of c-files -2011-07-05 Version 1.0 - Fixed some warnings from the latest GCC on unused code - Made hostname resolution for the printer more robust by verifying - that a forward lookup matches the reverse name lookup. - This should fix printer detection for some buggy routers that - return a bogus hostname on a reverse lookup - Bumped version number to 1.0 the code seems to be stable. |