Page 1 of 1
Install printer with a script
Posted: Wed Oct 20, 2010 7:33 pm
Someone can explain me how to use the tpsetup or tpconfig command to add a new printer in a script. I read the txt file but it's not very clear.
Posted: Thu Oct 21, 2010 2:24 pm
the commands "tpsetup" and "tpconfig" are for interactive use, not for scripts. You can use the cups "lpadmin" command also to add TurboPrint printers.
Maybe I can point you in the correct direction if I know more about your intention - why do you want to add a new printer in a script?
Posted: Tue Oct 26, 2010 9:36 am
I want to create a script to setup all things (printer, desktop, softwares, ...) in my computer after the installation of my Ubuntu. So I put in my script :
- the installation of turboprint
- the use of tpsetup to add the key
- use sed to configure the file /etc/turboprint/system.cfg
Now I want to add the configuration of printers.