https://github.com/quantamhd/gu
Command line utility to print stuff fast at Gonzaga
https://github.com/quantamhd/gu
Last synced: 8 months ago
JSON representation
Command line utility to print stuff fast at Gonzaga
- Host: GitHub
- URL: https://github.com/quantamhd/gu
- Owner: QuantamHD
- License: apache-2.0
- Created: 2017-04-14T06:20:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-02T01:10:52.000Z (about 9 years ago)
- Last Synced: 2025-06-15T08:07:26.250Z (12 months ago)
- Language: Go
- Size: 15 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GU PRINT
GU Print is a command line utility that allows you to print to Gonzaga printers
just like with guprint.gonzaga.edu.
## Use
From your terminal:
```
$ gu print myfile
```
You will then be asked to select a printer, number of copies, and the printing will begin! The job will be automatically released by default, so no waiting is necessary.
## To Install
1. [Install golang](https://golang.org/dl/). This will install go to `/Users/myusername/go` for mac or `c:\Go` for windows.
2. Download the project from your command line.
```
$ go get https://github.com/QuantamHD/gu.git
```
3. Navigate to the gu directory.
```
$ cd go/src/github.com/quantamhd/gu
```
4. Build and install the src files.
```
$ go build
$ go install
```
5. Open your profile at `$HOME/.profile`. For bash users this might be `$HOME/.bash_profile`. Add the following lines and save changes:
```
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
```
6. Restart your terminal.
7. You now should be able to run this utility by calling :
```
$ gu print myfile
```