henesyinit from p9fd787fda5 years agoHistory
21 lines · 495 B · Text
RawDownload
#!/bin/sh# $Id: pdf2ps,v 1.1 2000/03/09 08:40:40 lpd Exp $# Convert PDF to PostScript. OPTIONS=""while truedo	case "$1" in	-*) OPTIONS="$OPTIONS $1" ;;	*)  break ;;	esac	shiftdone if [ $# -ne 2 ]; then	echo "Usage: `basename $0` [-dASCII85EncodePages=false] [-dLanguageLevel=n] input.pdf output.ps" 1>&2	exit 1fi # Doing an initial 'save' helps keep fonts from being flushed between pages.exec gs -q -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=$2 $OPTIONS -c save pop -f $1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t