[cups.bugs] [HIGH] STR #2449: Wrap function in texttops is not working
Dave smith
dave.smith at candata.com
Wed Jul 18 16:53:10 PDT 2007
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
When printing a text file with the cpi=17 option it cuts off at 80
characters. There is the wrap=off option that should allow the page to
continue. If you use the option it still does not work. The problem is
that the texttops filter gets passed nowrap not wrap= so
line 601 of textcommon.c ..
if ((val = cupsGetOption("wrap", num_options, options)) == NULL)
WrapLines = 1;
else
WrapLines = !strcasecmp(val, "true") || !strcasecmp(val, "on") ||
!strcasecmp(val, "yes");
should be
WrapLines= cupsGetOption("nowrap", num_options, options) == NULL;
Link: http://www.cups.org/str.php?L2449
Version: 1.3-current
More information about the cups-devel
mailing list