PDA

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



hanswurst
06-10-2005, 20:59
hi,

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 1.9.2.7-6b 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://192.168.0.1:9101
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 192.168.0.115 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.

%!PS_Adobe-3.0
%%BoundingBox: 0 0 612 792
%%Pages: 1
%%LanguageLevel: 1
%%Document

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 :)

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

hanswurst
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 192.168.0.114 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.

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