l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 May 19 17:08

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] printer losing some jobs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] printer losing some jobs

On Thu, 19 May 2005, Peter Jay Salzman wrote:
> The problem is with lpr and text files.  For some reason, text files don't
> print.  When I "lpr file.txt", the printer light blinks a bit and then nothing.
> Sometimes, when I type "lpr file.txt" many times in rapid succession, it'll
> print once.
> Here's the printcap file:
>    lp|printer|Generic dot-matrix printer entry:\
>            :lp=/dev/lp0:\
>            :sd=/var/spool/lpd/lp:\
>            :if=/var/spool/lpd/myfilter:\
>            :af=/var/log/lp-acct:\
>            :lf=/var/log/lp-errs:\
>            :pl#66:\
>            :pw#80:\
>            :pc#150:\
>            :mx#0:\
>            :sf:\
>            :sh:

It's apparently not sending FF (0x0C) after sending the text file to the
printer.  Try removing the line with :sf: in it.  :sf:, according to
printcap(5) is:

     sf         bool      false                  suppress form feeds

so I'm guessing removing that line will fix it.  Try it and see?


Mark K. Kim
AIM: markus kimius
Homepage: http://www.cbreak.org/
Xanga: http://www.xanga.com/vindaci
Friendster: http://www.friendster.com/user.php?uid=13046
PGP key fingerprint: 7324 BACA 53AD E504 A76E  5167 6822 94F0 F298 5DCE
PGP key available on the homepage
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.