Adam Lang wrote:
> 
> For production print, we use a windows based program that merges data to
> forms and then forms several large PCL files.
> 
> The program then sends the files to the printer (via samba print server
> using lprng) using the dos command copy /b lpt2 <filename>
> 
> Now, if the printer gets a jam or something, it picks up where it left off
> when the error is cleared.
> 
> The problem, say a major error comes across the printer and a power off is
> required, print is restarted at the beginning of that current batch.
> 
> Is there anyway to have lprng keep some sort of pointer on where it left off
> even if the printer drops its connection?
> 
> Or is it really a moot point since the printer buffer would be cleared and
> lprng would not be able to guess what was in there anyway and there would be
> data lost?

I'm by no means any expert on printer communication, but I don't think 
this would be very usefull.  The printer driver (ifhp, whatever) sends 
data to the printer in batches (whatever the printer buffer will accept),
and can't know how far the printer has come in processing the data -- how
many pages it has printet etc.  

At the best, if the driver could sense that the printer went down
after XXX bytes transfered, it could start off at this offset when
the printer became online againe, BUT, you would then miss out all
the stuff that was downloaded with those first XXX bytes, ie. fonts,
postscript functions, whatever.

So this would not really be useful, except possibly for simple
ASCII text.  Even then you would risk a (large) overlap in the 
pages printet between the two sessions, and you would have to
sort out that manually -- that would also reduce the value of
such a feature.


regards,
-- 
Hans Peter       (Usit/Unix-drift,Utskrift)                                Ni!

               http://folk.uio.no/hanspv/skrive.mp3
               http://folk.uio.no/hanspv/tenke.mp3

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

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.
-----------------------------------------------------------------------------

Reply via email to