I discovered a bug in the way the queue listing is formatted. I was printing files from Microsoft Word to a Linux system running Samba and LPRng (version 3.6.26). With a new unsaved file, Word named it "MicrosoftWord-Document1". The lpq command would then print a line like this: 2 jenb@instagate+255 A 255 MicrosoftWord-Document1277 16:14:28 There's no space between the Document1 and the 277 byte file size, which really messed up some of our queue management web pages. I tracked it down to line 666 of lpd_status.c, which uses > to compare the strlen(msg) + strlen(sizestr) to Max_status_line_DYN. If the msg and sizestr lengths are just EQUAL to the max line length, it doesn't put the space in. Changing > to >= fixes it. This is my first post to the list. Maybe this has already been fixed? Thanks! -- Jonathan Briggs [EMAIL PROTECTED] ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
