migrate from lp to cups

gok marc.benslahdine at datasystem.fr
Tue Mar 20 08:36:08 PDT 2007


> gok wrote:
> > hi,
> >
> > How to migrate lp printers queue (solaris) to cups ?
>
> There's no simple solution, as System V LP has no real notion of
> printer drivers, just interface scripts, and device connectivity is
> not handled in any standard way.  For example, network printers tend
> to point to /dev/null and have their interface scripts communicate
> directly with the printer.
>
> The best thing to do is add the printers by hand on your server, and
> then use CUPS browsing to push those queues out to the client
> systems.  The lpadmin command can still be used to add printers in
> bulk, of course, but you just need to know what to use for the device
> URI and PPD.
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products           mike at easysw dot com
> Internet Printing and Document Software          http://www.easysw.com

I try to add printer with lpadmin :

atlas:root>lpadmin -p Q10 -v /logs/batch_output/Q10
lpadmin: add-printer (set device) failed: client-error-not-possible
atlas:root>

I need this result, and i must add 100 printers !!!!

<Printer Q101>
Info Q101
DeviceURI file:/logs/batch_output/Q10
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>






More information about the cups mailing list