I've always been partial to xargs myself (it cuts down on extra
processes.) So, here's an example
cd /tmp/labels
/bin/ls -1 | /bin/xargs -n 52 lp -dlabel2
David
On 27 Jul, Robert McCallum wrote:
> hey thanks...
> I was not sure if this list even worked.
> I guess I don't get my own submissions like with the other lists I am on.
> thanks for the workaround... is this 52 file limit in LPRng or is it some other
> dependency??
> I cannot believe that no one else has had this problem.
> thanks for the help.
> Robert
>
> Avery Earle wrote:
>
>> Not a fix but a workaround ......
>>
>> cd /tmp/labels
>> for f in lab* ; do
>> lp -dlabel2 $f
>> done
>>
>> On Thu, Jul 27, 2000 at 10:37:01AM -0500, Robert McCallum wrote:
>> > hello,
>> > I just installed LPRng and I think it is great, however I am not sure
>> > how to get past this 52 request limit...
>> > I really need to .. for a cron job that I have to print all the labels
>> > that sit in a directory each night...
>> > it is a simple script
>> >
>> > cd /tmp/labels
>> > lp -dlabel2 lab*
>> >
>> > of course this fails with...
>> > Fatal error - Sorry, can only print 52 files at a time, split job up
>> >
>> > can I get around this limitation??
>> >
>>
>> -----------------------------------------------------------------------------
>> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
>> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
>> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
>> with: | example:
>> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
>> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>>
>> If you have major problems, send email to [EMAIL PROTECTED] with the word
>> LPRNGLIST in the SUBJECT line.
>> -----------------------------------------------------------------------------
>
>
> -----------------------------------------------------------------------------
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> with: | example:
> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems, send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
--
David Sullivan
[EMAIL PROTECTED]
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------