How to add space between lines?

Kurt Pfeifle kpfeifle at danka.de
Fri Apr 28 18:24:10 PDT 2006


> Anonymous wrote:
> >>I have a PostScript prolog that emulates a line printer. By default, > >>>it
> >>adjusts the
> >>font size (to be strict, the height) according to the lpi setting as
> >>well, but it could
> >>be easily tweaked to match your needs. The emulation code
> >>>simply needs
> >>to be
> >>prepended to the ASCII data; to write a backend script to do that is
> >>quite easy.
> >>
> >>Drop me an e-mail if you are interested (hDOTblischkeATsrzDOTde).
> >>
> >>Helge
> >>
> >>
> >>Yin Kee Yee wrote:
> >>
> >>>Hi Helge and all,
> >>>
> >>>What I'm trying to achieve here is to have my ascii/text file
> >>>to print
> >>>out the following format:
> >>>
> >>>>From ascii/text file
> >>>
> >>>LINE1 DATA
> >>>LINE2 DATA
> >>>LINE3 DATA
> >>>
> >>>To
> >>>
> >>>LINE1 DATA
> >>>
> >>>LINE2 DATA
> >>>
> >>>LINE3 DATA
> >>>
> >>>Basically, it just add space between each LINE(n) DATA
> >>>without changing
> >>>the size of the FONT. The -o lpi=VALUE text option which set
> >>>the number
> >>>of lines per inch seems to change the FONT size accordingly. This
> >>>doesn't fit into the print format I'm trying to achieve.
> >>>
> >>>Is this printing format I'm trying to achieve can be done
> >>>easily with
> >>>CUPS standard text print option?
> >>>
> >>>Thanks,
> >>>Yin Kee
> >>>
> >>>Yin Kee Yee wrote:
> >>>
> >>>>Hi All,
> >>>>
> >>>>Is there a switch or option to add space between lines
> >>>>while printing
> >>>
> >>>a
> >>>
> >>>>ascii/text file? I can't find this information in CUPS
> >>>>User Manual.
> >>>>
> >>>>Any suggestion is appreciated.
> >>>>
> >>>>Thanks,
> >>>>Yin Kee
> >>>
> >>>The user manual lists specific options for text/plain
> >>>printing, like lpi
> >>>and cpi.
> >>>Look for the lpi option in your case.
> >>>
> >>>Helge
> >>
> >>--
> >>Helge Blischke
> >>Softwareentwicklung
> >>SRZ Berlin | Firmengruppe besscom
> >>http://www.srz.de
> >
> >
> > Don't see your email address anywhere, Helge. I have a
> > similar requirement here.
>
> Look into any of my posts; the sender field contains my e-mail address

Not if the poster accessed the forum via the web (http://www.cups.org/newsgroups.php) like I do currently... :-)

However, he could have seen you spelling it out (see above) as "(hDOTblischkeATsrzDOTde)" which may give a good enough hint. However, if you are in a hurry, you may well overlook it (it also does not get autoconverted into an obvious, clickable link in the GUI view of more modern mail clients :-)

> --
> Helge Blischke
> Softwareentwicklung
> SRZ Berlin | Firmengruppe besscom
> http://www.srz.de

Cheers,
Kurt




More information about the cups mailing list