LPRng Reference Manual: 3 May 2004 (For LPRng-3.8.27) | ||
---|---|---|
Prev | Chapter 20. The Most Frequently Asked Questions | Next |
This is a rather disconcerting problem, and usually occurs when sending jobs to either a network printer or a nonconforming RFC1179 print spooler. For details about LPRng and RFC1179, see RFC1179 and LPRng, but here is a quick explanation.
An lpd job consists of a control file, which contains information about the job, and one or more data files. RFC1179 is silent on the order that jobs are sent; however some implementations REQUIRE that the data files be sent first, followed by the control file.
SOLUTION:
Set the send_data_first flag in the printcap for the particular printer, or in the lpd.conf configuration file. This is:
Note that some printers/servers INSIST on the control file first; You can clear the flag using send_job_first@ if you need to.