un-wanted line wrap

john york john at watersoftware.com
Tue Jul 7 07:33:30 PDT 2009


> john york wrote:
> >> On Jul 2, 2009, at 12:47 PM, john york wrote:
> >>> I am running centos 2.6 with cups 1.3.7 and attempting to print to
> >>> an okidata b4350 connected to a win-98 pc.
> >>>
> >>> all works well with default 8.5X11 paper in portrait mode.
> >>>
> >>> when I switch to compressed/landscape mode with -o landscape -o
> >>> cpi=15 options in the command line the printer switches to landscape
> >>> 15 cpi but cups still wraps the lines at 105 characters (which would
> >>> be the 10.5 inches at 10 cpi)
> >>>
> >>> the -o no-wrap option only causes the wrap to NOT occur if the line
> >>> contains no space characters, but still wraps all other lines at the
> >>> space nearest the 105 character limit.
> >>
> >> If you are using the standard texttops filter, "nowrap" (no dash) is
> >> the proper option to use.
> >>
> >> ____________________________________
> >> Michael R Sweet, Senior Printing System Engineer
> >>
> >
> > I am using "nowrap" (no dash) I mis-typed it in my post.
> >
> > I have discovered that if I use -o media=legal and then manually tell the printer I changed paper it prints the full 132 character line without any line wrap.
> >
> > CUPS seems to be ignoring the cpi setting when calculating where to put the line wrap and the "nowrap" option seems to simply say "don't wrap in the middle of a word"
>
> Make sure you are actually using the CUPS text filter - some versions
> of RHEL (and thus CentOS) come with a different text filter that does
> not implement all of the CUPS options...
>
> --
> ______________________________________________________________________
> Michael R Sweet                        Senior Printing System Engineer
>
I am new to Linux and CUPS !
Where do I look to see which text filter I am using?






More information about the cups mailing list