Bekijk de volledige versie : cups raw-printing with and hl-1240

06-10-2005, 20:59

i'm desperately trying to print from my linux-box to a brother hl-1240 attached to a wl-500g's lpt-port. i use cups (1.1.23) and version of the modified firmware. unfortunately raw-printing from a linux client does not work the way it's supposed to work. :> raw-printing from windows does.
i added a printer via the cups webinterface with these settings:

device: AppSocket/HP JetDirect
device uri: socket://
vendor (aka driver i guess): Raw
model: Raw Queue (en)

a "successful" printjob from a linux client looks like this:

[admin@router /tmp]$ tail -f syslog.log
Oct 6 21:23:57 p9101d[70]: Connection from port 51638 accepted
Oct 6 21:24:13 p9101d[70]: Finished job: 67260 bytes received

the printout of the cups-testpage usually only contains 4 lines.

%%BoundingBox: 0 0 612 792
%%Pages: 1
%%LanguageLevel: 1

i asume it is some sort of postscript which somehow gets interpreted wrong. do you have any idea how to debug this problem? i don't know if it is cups' fault or p910nd's. i'm kind of lost here and could use some help.

thank you for your replies :)

11-10-2005, 11:53
You've to select correct vendor and model, not the Raw.

22-10-2005, 11:54
ok, i did that now and i get

[admin@router /tmp]$ tail -f syslog.log
Oct 22 12:39:11 p9101d[73]: Connection from port 51490 accepted
Oct 22 12:39:12 p9101d[73]: Finished job: 0 bytes received

looks like some sort of cups problem to me because the printjob basically contains zero bytes. :>

edit: i played around with the vendor/model settings in cups and found out that HP/HP Laserjet Series CUPS v1.1 (en) works. i guess the supplied ppd-file from linuxprinting.org might be damaged or incompatible. not a nice solution but a solution after all.

22-10-2005, 12:19
install ghostscript or something..