setup printer from console

bui bqbao at yahoo.com
Tue Jan 11 19:46:14 PST 2011


> bui wrote:
>
> > I successfully cross compiled CUPS 1.3.9 and HPLIP 3.10.9 (hpijs only
> > build) for the micro 2440 SDK board (ARM9). But I don't know how to setup
> > my printer from the console. My system do not have GUI. Please can anyone
> > tell me how to setup the printer (add printer, print test page) from the
> > console?
> >
> > Thank you very much
>
> For setting up a printer, use the lpadmin command, to print a test page,
> simply use the lp command. The test page file should be
> /usr/share/cups/data/testpage.ps
>
> Helge
>
Thank for your quick reply, Helge

Can you please tell me more in detail? I want to setup a USB HP Laserjet 1015. The ppd file is /usr/share/ppd/HP/hp-laserjet_1015_hpijs.ppd.gz. What is the command to add that printer? I tried the lpadmin many time with many different options, but can not get the printer work.

Thank




More information about the cups-devel mailing list