Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

xwy27/Selpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SELPG

Select Page(Selpg) is a terminal program, which helps print files with given pages. Thr origin author develops it with C but for this program, implement it with GO.

Usage

selpg:
  --d string   name of the printer (default "default")
  --e int      End page of file (default -1)
  --f          flag splits page
  --l int      lines in one page (default 72)
  --s int      Start page of file (default -1)

Develop Tutorial

Implement SELPG with GO

Test

  1. Simple print task in CLI test pass.
  2. Without printer, the -d option returns ERROR msg in my test.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages