-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathREADME
More file actions
executable file
·65 lines (39 loc) · 1.74 KB
/
README
File metadata and controls
executable file
·65 lines (39 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
PDFPrint
--------
This is a command-line, and GUI application for printing PDF files,
written in Lazarus/Freepascal. It allows you to easily include PDF
printing in your Windows applications and scripts.
It is potentially cross-platform, although has only been designed
for Windows so far.
Copyright 2011 Shaun Simpson
Copyright 2011 Tristan Linnell
This project contains modified versions of the files gsimage.pas, GhostScript.pas
and gsapi.pas, which are Copyright (c) 2001-2002 Alessandro Briosi
A precompiled binary for Windows (32-bit) can be found in the Downloads section above.
Building
--------
PDFPrint will build with Lazarus 0.9.30, fpc 2.4.2 or later, and requires no
additional components or libraries, except for winspool.pp, which is included.
winspool.pp is taken from fpc 2.2.4.
Dependencies
------------
In order to use PDFPrint, you will need to obtain a copy of gsdll32.dll from the
GPL Ghostscript project and copy the file into the same directory. If you require,
you can also add a cidfmap file to the program directory.
Usage
-----
Command-line interface:
pdfprint [options] filename
This will print a file to the default printer.
Optional command line options:
-from NN First page to print.
-to NN Last page to print.
-resolution NN Set the the DPI of the output (default 300).
-printer "name" Name of the printer to use.
-dialog Display printer setup dialog.
-silent Hide the GUI.
-force-ps Force PostScript printing.
GUI Usage:
To use the GUI launch the application without any parameters. The GUI is very simplistic and
contains a single button which uses a dialog to open a file, displays the printer setup dialog
and then prints the file.