Public bug reported:

Binary package hint: cups

Tested with CUPS 1.3.9-17ubuntu3.2 on Jaunty.

When using a text-only printer (like a dot-matrix) it is sometimes
desirable to have the printer automatically do a form-feed at the end of
each job so it advances to the next page. This is accomplished by
setting the DefaultSendFF field to True in the PPD file. However, this
does not work properly. The textonly filter
(/usr/lib/cups/filter/textonly) uses the command "echo -ne \\14" to
accomplish the form-feed but this does not output a form feed. Instead,
it prints "\14" to the page. By modifying the file to do "echo -ne
\\014" instead it will properly output the form-feed.

Diff:

--- textonly    2009-07-04 19:56:40.000000000 -0500
+++ textonly.orig       2009-07-04 19:56:18.000000000 -0500
@@ -114,7 +114,7 @@
 
   if [ "$SENDFF" == "True" ]
     then
-    echo -ne \\014
+    echo -ne \\14
   fi
 
   COPIES=$(($COPIES - 1))

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: cups dot-matrix jaunty printer text-only textonly

-- 
DefaultSendFF does not work properly in CUPS with textonly printers
https://bugs.launchpad.net/bugs/396673
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to