hpcups send 10000 bytes of garbage (0x00) to the printer
This question relates to a bug posted to 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
...
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: