Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244924

Re: Printing lots of pages skips a few

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: Printing lots of pages skips a few
Date 2022-02-01 19:10 +0100
Message-ID <DM5Lk-3WI-9@gated-at.bofh.it> (permalink)
References <DLXNL-7lF-1@gated-at.bofh.it> <DM0sh-Di-3@gated-at.bofh.it> <DM4YV-3qO-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Feb 01, 2022 at 10:42:31PM +0530, Pankaj Jangid wrote:
> Greg Wooledge <greg@wooledge.org> writes:
> > A correct version would be:
> >
> > find . -name "pref*.pdf" -exec lp {} +

> Thanks for this brief course, Greg. I really liked it.
> 
> In my case though, I had verified that the output of find is okay for
> xargs. Then I added | xargs lp.
> 
> But could this be cause of missing page. The output of find is:
> 
> --8<---------------cut here---------------start------------->8---
> 2018/letters/060718I049905433.pdf
> 2018/letters/250518I049904099.pdf
> 2018/letters/150918I049901510.pdf
[..]

OK.  Then there must be something else wrong.

I can't help noticing that none of your filenames begin with "pref",
so none of them actually match the -name pattern that's being given
to find.  One of the obvious ways you could experience this problem
is that the "missing" files don't match the pattern you're using.

Beyond that, perhaps some of the files are empty (either literally
zero bytes, or they contain only "comments" or metadata that doesn't
cause the generation of images using ink on paper when printed).

Or... the files aren't readable due to permissions.  Or they're not in
the directories you think they're in.

Can you identify *which* files aren't being visibly printed?  By process
of elimination, you should be able to find out.  Pick one of them, and
analyze the situation.  If it's not an issue with the name, location or
permissions, then try to open it with a PDF viewer.  If it opens correctly,
try printing it with "lp".

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Printing lots of pages skips a few Pankaj Jangid <pankaj@codeisgreat.org> - 2022-02-01 10:40 +0100
  Re: Printing lots of pages skips a few Greg Wooledge <greg@wooledge.org> - 2022-02-01 13:30 +0100
    Re: Printing lots of pages skips a few Pankaj Jangid <pankaj@codeisgreat.org> - 2022-02-01 18:20 +0100
      Re: Printing lots of pages skips a few Greg Wooledge <greg@wooledge.org> - 2022-02-01 19:10 +0100
        Re: Printing lots of pages skips a few Pankaj Jangid <pankaj@codeisgreat.org> - 2022-02-02 11:50 +0100
      Re: Printing lots of pages skips a few Klaus Singvogel <deb-user-ml@singvogel.net> - 2022-02-01 21:40 +0100
        Re: Printing lots of pages skips a few Pankaj Jangid <pankaj@codeisgreat.org> - 2022-02-02 11:50 +0100
          Re: Printing lots of pages skips a few Curt <curty@free.fr> - 2022-02-02 15:00 +0100
          Re: Printing lots of pages skips a few Pankaj Jangid <pankaj@codeisgreat.org> - 2022-02-03 05:50 +0100
    Re: Printing lots of pages skips a few David Wright <deblis@lionunicorn.co.uk> - 2022-02-02 18:10 +0100
      Re: Printing lots of pages skips a few Pankaj Jangid <pankaj@codeisgreat.org> - 2022-02-03 05:50 +0100

csiph-web