Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
GNC Examples
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Setting up or changing printers === <pre class="dashed-box"> ############################################################################################################### GNC_PARAMETERS=' --runonce --skipinstall ' ############################################################################################################### #Output machine type and assign it to the MYTYPE variable MYTYPE=`cat /etc/groovix/type` echo MYTYPE is $MYTYPE #If statement to apply printer setup to specific machine types if [ $MYTYPE = "[reservation]" ] ; then echo "printers for reservations stations handled manually" else #Stop CUPS service, otherwise config files will be overwritten /etc/init.d/cups stop #Clear CUPS cache set +e rm -f /var/cache/cups/*.ipp set -e #Get and place printers.conf file and printer .ppd files gncget --mod=644 /etc/cups/printers.conf gncget --mod=644 /etc/cups/ppd/black_and_white.ppd gncget --mod=644 /etc/cups/ppd/color.ppd gncget --mod=644 /etc/cups/ppd/childrens.ppd #Restart CUPS /etc/init.d/cups start #end if statement fi </pre> <nowiki>*</nowiki>Change [reservation] with the name for your [[Reservation Station]] machine type, change [date] to date of the backup.
Summary:
Please note that all contributions to GroovixWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
GroovixWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)