Bug 5796

Summary: If the printer is turned off, the first character of queued jobs gets killed
Product: Drivers Reporter: Marco Zanon (info)
Component: ParallelAssignee: drivers_parallel
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: high CC: bunk
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: Linux ubuntu 2.6.12-10-386 Subsystem:
Regression: --- Bisected commit-id:

Description Marco Zanon 2005-12-30 00:45:45 UTC
Most recent kernel where this bug did not occur: 2.4.x (under Slackware)

Distribution: Ubuntu 5.10
Hardware Environment: Epson Stylus Color 680
Software Environment: any

Problem Description:
If the printer is not turned on and you queue some jobs, the first is corrupted
because the first character is "eaten" by the parallel driver.

Steps to reproduce:
1) Switch the printer off.
2) Queue a print job.
3) Queue another print job.
4) Switch the printer on.
You should see that the second job is printed perfectly, while the first is not:
either some characters are missing or the orientation is wrong or...

CUPS people told me it's a parallel driver bug, not a CUPS bug.

Thanks,

Marco.
Comment 1 Ryan Underwood 2006-11-07 08:34:41 UTC
Are you certain it's not a printer bug?  The printer could be eating the first 
bytes sent to it at power-on.  Can you try the same configuration with a 
different printer?
Comment 2 Marco Zanon 2006-11-07 10:53:59 UTC
Well, I'm quite certain that it didn't happen with old kernels (2.4.x). Anyway,
I'm using Ubuntu 6.06LTS with Linux 2.6.15-27 now, and it seems the problem has
disappeared...
Comment 3 Adrian Bunk 2006-11-07 20:10:46 UTC
Please reopen this bug if it re-occurs with a recent 2.6 kernel.