RE: LPRng: pjl_waitend_byjobname - HP LJ 4100
Sorry for the stupid question, but can someone provide a workaround in the meantime? This one caught me by surprise and I don't yet have time to re-compile with any changes to the waitend routine. I would really like to strip spaces and commas or anything else that could cause a problem (Samba used to do this for you -- no longer). Thanks for your help! _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Fri, 20 Jun 2003, Fernando Blanco Marcilla wrote: Yes, the problem is in the jobname. When the jobname includes the comma character (,), the printer returns the jobname split in two lines: the first line returned contains the jobname to the comma, and then, the rest of the jobname is in another line. This is why the returned jobname never matches the original jobname, and therefore, you can never obtain the end-of-job condition expected with the pjl_waitend_byjobname option. And the job remains in the queue forever. I think that this is the only small problem with the pjl_waitend_byjobname patch. I think that, in another patch I sent to LPRng list, I avoided this comma-problem by changing somewhere a strcmp statement by a strstr one in the Do_waitend routine. This made the end-of-job detection test less strict. Regards, Fernando Blanco. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Ryan Novosielski Enviado el: jueves, 19 de junio de 2003 19:44 Para: LPRng Mailing List Asunto: LPRng: pjl_waitend_byjobname - HP LJ 4100 Can anyone think of why this file, specfically, would not ever get pjl job/eoj? I killed it a couple of times and resent it, but still... trouble. Is the jobname a problem somehow on this file? I assume it's not the actual data of the file, because that DOES print properly AFAIK. Thanks! cfA007...: Aschaefre@//DXQMD01+7 CA D2003-06-19-12:45:46.445 H130.219.192.177 JOvid: Love: Am J Health Syst Pharm, Volume 59(22) Supplement 8.November 15, 2002.S10-S15 Pschaefre Qljptn246 NOvid: Love: Am J Health Syst Pharm, Volume 59(22) Supplement 8.November 15, 2002.S10-S15 ldfA007ADDR130.219.192.177 UdfA007ADDR130.219.192.177 _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 - 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. - - 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. - - 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. -
RE: LPRng: pjl_waitend_byjobname - HP LJ 4100
Yes, the problem is in the jobname. When the jobname includes the comma character (,), the printer returns the jobname split in two lines: the first line returned contains the jobname to the comma, and then, the rest of the jobname is in another line. This is why the returned jobname never matches the original jobname, and therefore, you can never obtain the end-of-job condition expected with the pjl_waitend_byjobname option. And the job remains in the queue forever. I think that this is the only small problem with the pjl_waitend_byjobname patch. I think that, in another patch I sent to LPRng list, I avoided this comma-problem by changing somewhere a strcmp statement by a strstr one in the Do_waitend routine. This made the end-of-job detection test less strict. Regards, Fernando Blanco. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Ryan Novosielski Enviado el: jueves, 19 de junio de 2003 19:44 Para: LPRng Mailing List Asunto: LPRng: pjl_waitend_byjobname - HP LJ 4100 Can anyone think of why this file, specfically, would not ever get pjl job/eoj? I killed it a couple of times and resent it, but still... trouble. Is the jobname a problem somehow on this file? I assume it's not the actual data of the file, because that DOES print properly AFAIK. Thanks! cfA007...: Aschaefre@//DXQMD01+7 CA D2003-06-19-12:45:46.445 H130.219.192.177 JOvid: Love: Am J Health Syst Pharm, Volume 59(22) Supplement 8.November 15, 2002.S10-S15 Pschaefre Qljptn246 NOvid: Love: Am J Health Syst Pharm, Volume 59(22) Supplement 8.November 15, 2002.S10-S15 ldfA007ADDR130.219.192.177 UdfA007ADDR130.219.192.177 _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 - 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. - - 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. -
LPRng: pjl_waitend_byjobname - HP LJ 4100
Can anyone think of why this file, specfically, would not ever get pjl job/eoj? I killed it a couple of times and resent it, but still... trouble. Is the jobname a problem somehow on this file? I assume it's not the actual data of the file, because that DOES print properly AFAIK. Thanks! cfA007...: Aschaefre@//DXQMD01+7 CA D2003-06-19-12:45:46.445 H130.219.192.177 JOvid: Love: Am J Health Syst Pharm, Volume 59(22) Supplement 8.November 15, 2002.S10-S15 Pschaefre Qljptn246 NOvid: Love: Am J Health Syst Pharm, Volume 59(22) Supplement 8.November 15, 2002.S10-S15 ldfA007ADDR130.219.192.177 UdfA007ADDR130.219.192.177 _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 - 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. -