RE: Redhat-Config-Printer

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

 



Take a look at /etc/printcap.  It's where *nix stores the current printer
configs.  You could probably get away with a boilerplate printcap,
containing $SOME_KIND_OF_PLACEHOLDER_TAGS, then sed/awk/perl/python it to
the final destination with the proper IPs filled in...

Regards,
-G



Regards,

Gavin McDonald
========================
EVI Logistic Enterprises
email: me@xxxxxxxxxxxx
phone: (604) 313-3845


> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of Andrew Stephen
> Sent: Thursday, May 18, 2006 7:17 PM
> To: redhat-list@xxxxxxxxxx
> Subject: Redhat-Config-Printer
> 
> Hi
> 
> I was wondering if someone can please help me. I am have a script that
> goes through an configures IP Addresses, paths, documents on a build
> drive for a POS system that we are rolling out, but need the script to
> change the IP address for the JetDirect printers that are configured on
> the system.
> 
> I have looked through all the various configuration files and found that
> the ip address is stores in /var/spool/lpd/pos01-printer/scripts.cfg.
> However if I change that IP address it doesn't reflect the configuration
> next time that I run redhat-config-printer.
> 
> Any suggestions would be appreciated.
> 
> Regards
> Andrew
> 
> 
> 
> Andrew Stephen
> Technical Manager
> 21st Century Business Equipment
> 646 Murray Street
> West Perth   WA   6005
> Ph : 08 9321 8902     Mobile : 041 9900002
> Fax : 08 9481 5861
> andrew@xxxxxxxxxxxxxxxxxxxxxxxxxx
> www.21stcenturybusiness.com.au <http://www.21stcenturybusiness.com.au/>
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux