prnt/hpcups/Encapsulator.cpp send 10000 bytes of 0x00 to the printer before the real PCL commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
This bug was originally reported on the FreeBSD bug tracker by Matthias Apitz:
https:/
While hunting some other problem with a HP Deskjet 2510 printer, I discovered that prnt/hpcups/
Is this required / necessary?
prnt/hpcups/
#define PCL_BUFFER_SIZE 10000
prnt/hpcups/
cur_
pcl_buffer = new BYTE[cur_
if (pcl_buffer == NULL) {
return ALLOCMEM_ERROR;
}
memset(
cur_
err = flushPrinterBuf
prnt/hpcups/
virtual DRIVER_ERROR flushPrinterBuf
{
return m_pSystemServic
}
$ od -c printer24674.prn | head -5
0000000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0023420 033 E 033 % - 1 2 3 4 5 X @ P J L
0023440 S E T S T R I N G C O D E S E
0023460 T = U T F 8 \n @ P J L C O M M
...
Changed in hplip: | |
status: | New → In Progress |
Changed in hplip: | |
status: | In Progress → Fix Committed |