[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to add a printer via command line



2009/8/6 T o n g <mlist4suntong@yahoo.com>:
> On Wed, 05 Aug 2009 14:13:50 +0100, Roger Leigh wrote:
>
>>> interesting, the command line tools can now probably be removed since
>>> those apparently no longer work.
>>
>> All the command-line tools do work . . .
>
> How can I add a printer via command line? I have to go through the
> lengthy process through the web interface to add my printer each time I
> install a fresh system. This is the only printer I have for years, and
> hope that adding the printer via command line will save my time.
>
> Thanks
>
> --
> Tong (remove underscore(s) to reply)
>  http://xpt.sourceforge.net/techdocs/
>  http://xpt.sourceforge.net/tools/
>

With the command lpadmin:

lpadmin -p PRINTERNAME -m PPD -v URI -E




-- 
Saludos,
Roberto De Oliveira


Reply to: