Skip to content

Commit

Permalink
Adding printer to cups
Browse files Browse the repository at this point in the history
Printer now points to .internal instead of .psd, this is due to issues in production,
this branch can be tested on UAT or Training
  • Loading branch information
BenTopping committed Oct 6, 2020
1 parent ebb948c commit a60178b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create-cups-printer.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/expect
set printername [lindex $argv 0];
spawn lpadmin -U "$env(CUPSD_USERNAME)" -p $printername -v socket://$printername.psd.sanger.ac.uk -E
spawn lpadmin -U "$env(CUPSD_USERNAME)" -p $printername -v socket://$printername.internal.sanger.ac.uk -E
expect "Password for $env(CUPSD_USERNAME) on cupsd?"
send -- "$env(CUPSD_PASSWORD)\n"
expect eof

0 comments on commit a60178b

Please sign in to comment.