dreport spools output to wrong printer
Barry Wiseman
barry at gensoftdes.com
Fri Jul 29 12:58:10 PDT 2005
Spent this afternoon pounding my head over a report that filePro was
stubbornly sending to the wrong printer.
Linux RHE 3.0
dreport 5.0.14D4
system printers include:
system default destination: hp8100
device for hp8100: socket://192.168.1.4:9100
device for jeff: socket://192.168.1.5:9100
device for mary: socket://192.168.1.6:9100
config file had (irrelevant entries omitted):
printer7 = jeff,dr_hp3,lp -s -djeff,Jeff's printer
printer8 = mary,dr_hp3,lp -s -dmary,Accting printer
printer9 = dr_hp3,dr_hp3
Output table had Printer name: dr_hp3
With no -p on the command line, no value in LPDEST, no "printer"
statements in processing, I would expect the report to go to the default
printer, "hp8100". Instead, it was going to "jeff".
After much head-scratching, I edited the config table to read:
printer7 = dr_hp3,dr_hp3
printer8 = jeff,dr_hp3,lp -s -djeff,Jeff's printer
printer9 = mary,dr_hp3,lp -s -dmary,Accting printer
whereupon the job went to the default printer as expected.
So fP was was grabbing the first definition for the printer *type*
dr_hp3, not the one for printer *name* dr_hp3.
Bug or feature?
-----------------------------------------------------------------
Barry Wiseman barry at gensoftdes.com
Genesis Software Designs, Inc. Voice: (212) 889-9191
18 E. 41 Street, New York, NY 10017 Fax: (212) 889-1589
-----------------------------------------------------------------
More information about the Filepro-list
mailing list