> From [EMAIL PROTECTED] Wed Sep 18 12:11:35 2002 > From: "Adam Lang" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: LPRng: Remembering where it left off > Date: Wed, 18 Sep 2002 14:10:30 -0400 > > 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? > > Adam Lang > Systems Engineer > Rutgers Casualty Insurance Company > http://www.rutgersinsurance.com >
I have fought this through several times... with PostScript you can cheat a bit, and when a page is printed (showpage) get a string telling you that showpage was invoked. Um.... unfortunately, you sometimes get a slew of these as the rasterizer works on the PostScript and generates page images. You may get 15 'done page 1... done page 2... done page 15' and no paper has gone through the printer. PCL is almost hopeless. Some folks have tried using the SNMP MIB to get pages printed, with similar dismal luck. One way to do this is to do the rasterization yourself nad then throw individual pages at the printer... This works, and is used by several people who have cheque runs, etc., and need to know EXACTLY what got printed, and even then they are sometimes off by a page or so. Sorry... Patrick Powell Astart Technologies [EMAIL PROTECTED] 6741 Convoy Court Network and System San Diego, CA 92111 Consulting 858-874-6543 FAX 858-751-2435 LPRng - Print Spooler (http://www.lprng.com) ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
