How to setup basic USB printing system with LPD / Qt on Vybrid

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to setup basic USB printing system with LPD / Qt on Vybrid

ソリューションへジャンプ
2,590件の閲覧回数
Nouchi
Senior Contributor II

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

ラベル(4)
タグ(3)
0 件の賞賛
返信
1 解決策
1,883件の閲覧回数
Nouchi
Senior Contributor II

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

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,883件の閲覧回数
timesyssupport
Senior Contributor II

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

0 件の賞賛
返信
1,883件の閲覧回数
Nouchi
Senior Contributor II

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

0 件の賞賛
返信
1,883件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi Emmanuel,

Did the steps you mentioned work?

Best Regards,

Alejandro

0 件の賞賛
返信
1,884件の閲覧回数
Nouchi
Senior Contributor II

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

0 件の賞賛
返信
1,883件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport can you help to  attend this case?

0 件の賞賛
返信