• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3# just for comparison
4/usr/lib/cups/filter/texttops 1 hi_user there_title 1 "" Makefile > test1.ps || :
5
6# for the next to work, you'll have to make a subdirectory fonts/ here, containing the fonts
7# and a subdirectory charsets/ with a file pdf.utf-8
8export CUPS_DATADIR=`pwd`/
9
10./texttopdf 1 hi_user there_title 1 "" Makefile > test1.pdf
11./texttopdf 1 hi_user there_title 1 "PrettyPrint=1" Makefile > test2.pdf
12(export CONTENT_TYPE=application/x-csource; ./texttopdf 1 hi_user there_title 1 "PrettyPrint=1" test_pdf1.c > test3.pdf)
13(export CHARSET=utf-8; ./texttopdf 1 hi_user there_title 1 "PrettyPrint=1" Makefile > test4.pdf)
14(export CHARSET=utf-8; ./texttopdf 1 hi_user there_title 1 "" testin > test5.pdf)
15