for (p = duplexname;*p;p++)
*p = tolower(*p);
- fprintf(out, "%s|%s|%s|%s|%s|%s\n", name,duplexname,hostname,location,hwtype,prtype);
+ fprintf(out, "%s|%s|%s|%s|%s|%s|%s\n", name,duplexname,hostname,location,hwtype,prtype,rp);
}
EXEC SQL CLOSE csr_lprng;
tarfile_end(tf);
/etc/cups/bin/sync_lpd_ldap.pl 2>/dev/null
/etc/cups/bin/gen-ppd.pl 2>/dev/null
-/etc/init.d/cups restart
+/etc/init.d/cups stop
+/etc/init.d/cups start
# if Samba-enabled, then restart it too to have it pick up
# new definitions