Hello,
I'm trying to set-up a basic printing system with LPD provided by BusyBox.
I compiled kernel with USB printer support and works fine, cat myfile.txt >/dev/lp0 outputs something (without CR).
But, I can't start lpd daemon, it seems busybox lpd is different from the BSD lpd.
I'm looking for a good tutorial or any help.
Regards,
Emmanuel
Solved! Go to Solution.
Hello Alejandro,
Yes, it works fine with HP laserjet, and Qt application using Printer/QPainter classes.
Cups is probably more suitable if you want to use non postscript printers, but seems to be a little bit painful to configure.
Best Regards,
Emmanuel
Hello Emmanuel,
Can you tell me a little more about the error you encountered? Also, can you try using the 'cups' package provided by Factory?
Thanks,
Timesys Support
Hello,
Cups seems to be a little bit heavy for my needs, I found more explanations in busybox sources (lpd.c in printutils):
- create /var/spool/ directory
- create symlink to /dev/lp0 and name it "lp"
- lauch lpd as background process and listen to port 515: tcpsvd -E 0 515 lpd /var/spool &
- just send file with lpr: lpr myFile
Emmanuel
Hi Emmanuel,
Did the steps you mentioned work?
Best Regards,
Alejandro
Hello Alejandro,
Yes, it works fine with HP laserjet, and Qt application using Printer/QPainter classes.
Cups is probably more suitable if you want to use non postscript printers, but seems to be a little bit painful to configure.
Best Regards,
Emmanuel
timesyssupport can you help to attend this case?