> From [EMAIL PROTECTED] Tue Apr 2 10:03:22 2002 > Date: Tue, 2 Apr 2002 09:08:13 -0800 (PST) > From: Sam <[EMAIL PROTECTED]> > Subject: Re: LPRng: [Q] Help with RDYMSG > To: [EMAIL PROTECTED] > > > --- Patrick Powell <[EMAIL PROTECTED]> wrote: > > > Basic question. > > > > > > Anyone know of a way to insert a newline into a PJL RDYMSG command? > > > I have a Xerox N2125 with two LCD lines and I can't figure out how > > > to get text onto the second line. Or is there a better way to > > > display text on the LCD? > > > Hmmm... > > > > %-12345X@PJL > > @PJL RDYMSG DISPLAY = ":" > > > > ^^^^^^^^^^ modify this to: > > @PJL RDYMSG DISPLAY = "first line > > second line" > > > > And see if this works > > Unfortunately not. Here's what I got. > > #/bin/sh > pr=printer > cat <<EOF | nc -w 1 $pr 9100 > /dev/null > -12345X@PJL > @PJL JOB DISPLAY = "foo > bar" > @PJL EOJ > -12345X@PJL > EOF > > Nothing is displayed on the lcd and it prints out: > bar" > @PJL EOJ > > I've tried: > @PJL JOB DISPLAY = "foo" "bar" # displays only foo > @PJL JOB DISPLAY = "foo" > "bar" # prints out as above but w/"bar" > > Other suggestions? > Thanks, > Sam
Can some other program/spooler do double lines? If YES then: capture job and see hwo they did it. If NO then: give up. To capture job: a) set up test queue: printcap: test:sd=/var/spool/lpd/%P:lp=/dev/null checkpc -f to create spool directory lpc stop test to stop printing Spool the job to the test printer look in /var/spool/lpd/test/dfA... <- data file for the magic cookies you need, and email me the magic cookies and/or data file. Patrick ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
