Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

KSIUJ/legitksi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

legitk(s)i

Computer Science Students' Association identity card generator written in PHP using TCPDF for generating PDFs

how to use

  • insert people (one per row) into web/config/ludzie.txt
  • insert expiration date into web/config/data.txt
  • run, click link and download PDF

tuning

  • in web/legitksi.php you can change $cellWidth and $cellHeight to scale (note that in current config height is less by 1mm because with border it would be too big for a4 page)
  • $leftMargin and $topMargin are self explanatory; don't make them too small as printer may be unable to print such page
  • if you want more or less card per page you can change $cellsPerPage
  • for tuning position of text refer to TCPDF documentation and modify marked sections in main loop

About

legitk(s)i - KSI identity card generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages