Operating System - HP-UX
1834651 Members
2546 Online
110069 Solutions
New Discussion

Re: Large reports get resubmitted, and never completely print

 
Luis Toro
Regular Advisor

Large reports get resubmitted, and never completely print

Hello,
I had posted this last month, and I had to wait a month to see if this problem was resolved. Now I can't find the original posting. In any event, for the past few months users have been experiencing a problem printing rather large monthend reports. Basically, the reports stops printing at some point (in one case after about 90 pages), then starts printing again from the begining. It never completely prints, and keeps resubmitting itself. The lp log simply shows "start/end" entries for each attempt, but no error messages. I've also played around with the "idle timeout" setting on the printer ( setting it to 0 and 3600 ), with no luck. I'm hoping perhaps there some other avenue of troubleshooting that I am missing.

thanks
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Large reports get resubmitted, and never completely print

I didn't see or don't remember your last thread.

Do you have adequate space on your /var filesystem. This can be the root cause of the problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
D Block 2
Respected Contributor

Re: Large reports get resubmitted, and never completely print

also, wonder if your file-size limit is an issue ? can you see the file that is Queued in the printer spool directory ? how big is it? does ulimit cause an issue on your system ?
Golf is a Good Walk Spoiled, Mark Twain.
Luis Toro
Regular Advisor

Re: Large reports get resubmitted, and never completely print

I don't think ulimit is the problem, and I know its not the space on /var. Since these reports are generated from an application, I had the user run the report after I disabled the print queue. I then went to the "requests" directory and copied the "dA" file to my home directory. At that point the job was in the queue and /var was at 71%.
I vi'd the file and saw the page numbers indicating a complete report. I am trying to print the report to a local printer by me, but I have not been able to verify the idle timeout setting on that printer (it requires a password upon telnet). The report is 704kb.
John Poff
Honored Contributor

Re: Large reports get resubmitted, and never completely print

Hi,

We ran into this issue a couple of years ago, and one of our guys solved it by bumping up the idle_timeout value, but I don't think he went that high (3600) with it. I seem to remember that he went up to around 270 with it. It looks like setting it to 0 or 3600 causes it to lock the port (9100) so that nothing else can print to it when it is busy. I'd suggest trying a lower setting.


Here is a link to the first thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=625725

JP
Luis Toro
Regular Advisor

Re: Large reports get resubmitted, and never completely print

Thanks John.
You get points just for finding that thread. I did a search for my name and got anything but this one. I wanted to simply add to the old thread..oh well.
I'll play around with idle timeout. We're now experiencing the issue on a different server/printer, for a smaller report ( 70 pages). The idle timeout on that printer was 270. I am awaiting confirmation to see if in this instance bumping it up to 3600 worked. If not, I'll try 900.
John Poff
Honored Contributor

Re: Large reports get resubmitted, and never completely print

The printer we were having trouble with printed paychecks, so they got pretty upset when it would start all over again. :)

There is an easy way to find all the questions you have posted. Just click on 'my profile' on the left side of the screen, and then click on 'view/edit my forums profile'. Next, scroll down to 'my question(s)' and click on 'more' at the bottom of the list, and you'll get a list of all the questions you have posted, sorted by the most recent date.

JP
Luis Toro
Regular Advisor

Re: Large reports get resubmitted, and never completely print

Tried 900...still no good.
Seems to re-queue after around 40 pages, no matter what the idle-timeout setting is. And its never at the same spot.