Operating System - Linux
1829118 Members
1870 Online
109986 Solutions
New Discussion

Re: Printers copy from HP to Linux

 
Ameet_HP
Frequent Advisor

Printers copy from HP to Linux

We have more than 2000 printers configured in HP-UX. Recently, we have added 10 Red Hat Linux AS 2.1 servers. Whats the way to copy all printers to Linux ? If there is any third party software, I would like to use it. I have added CUPS in one system, Any idea how to copy to CUPS from HP Systems ? Your help will be appreciated... Thanks.
3 REPLIES 3
Jean-Pierre Denis
Valued Contributor

Re: Printers copy from HP to Linux

Hi,

You are using CUPS on HP systems and now want to run CUPS on linux ?

Simply copy the configuration files and all your config will be kept.

All the server configuration files are located in the /etc/cups directory. Think you would need /etc/printcap as well.

Thanks,
JP

Open your Mind and use Open Source software...
Kodjo Agbenu
Honored Contributor

Re: Printers copy from HP to Linux

Hi,

I have seen no tool to export printers from hp-ux spooler to CUPS.

It should be not so difficult to do this by scripting.

If you need no security features of CUPS, you need to :

=> Stop the CUPS spooler

=> Take a copy of the PPD file (printer driver) from /usr/share/cups/model/... to /etc/cups/ppd/

=> Add an entry to /etc/cups/printers.conf like this :


Info Created by redhat-config-printer 0.6.x
DeviceURI usb:/dev/usb/lp0
Location HP DeskJet 930C
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0


=> For printers that need specific printing options, add an entry to /etc/cups/lpoptions like this :

Dest dj930c cpi=12 lpi=7 page-bottom=36 page-left=36 page-right=36 page-top=36 scaling=100 wrap=true


That's all.

To make things much more simple, if you have let's say 1000 laserjet4-compatible printers, 500 laserjet5 and 500 laserjet8000, you only need to create 3 configuration templates, then you can simply duplicate them with few changes (printer's IP address).

Good luck.

Kodjo
Learn and explain...
Ameet_HP
Frequent Advisor

Re: Printers copy from HP to Linux

Thanks guys.. In HP systems, we have various printers, mostly those are configured with Jetdirect. I have just installed CUPS in Linux. But I don't see any way to move all 2000 printers in Linux easily by copying any config files. Is there any way to merge Jetdirect config from HP to Linux CUPS (or any other like Print-pro) ?