When Windows users print through Samba we have this problem that
they have spaces in their filenames/jobnames which means the below
parameter list is sent to the banner script, look after -J,
jobname "Microsoft Word - Document1". Could there be an option in
LPRng to replace " " with "_" in jobnames before sending them as
parameters to scripts?
-Abjoni@obelix+594 -Cobelix.foobar.com -D2003-01-21-08:38:02.060
-Hobelix.foobar.com -JMicrosoft Word - Document1 -Lbjoni -Pcanon
-Qcanon -b323758 -d/var/spool/lpd/canon -hobelix.foobar.com
-j000594 -kcfA000594obelix.foobar.com -l66 -nbjoni
-t2003-01-21-08:38:03.000 -w80 -x0 -y0
Otherwise I have to hack a veru ad hoc mode in my banner script to
search parameters after -J for ones that do not start with a dash,
and a problem arrises when there is a filename/jobname like
"Foobar -Fiebar", that is a dash and character after a space in
the filename.
--
"Nope, I'm just an ordinary guy with nothing to lose."
-- Lester Burnham, "American Beauty"
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------