online 1
gast (50)

/ Forum / Linux

LinuxLinux

Fragevon Niederbayer vom 30.05.2019, 16:45 Options

Hilfe beim Linuxbefehl PS2PDF

Hallo Linuxgemeinde,

ich nutze viel den Befehl PS2PDF in einem Script.

Gibt es nun eine Möglichkeit das man den Verfasser und das Thema mitübergeben kann?

Gru Niederbayer


Antwort schreiben

Antwort 1 von chemnuser vom 30.05.2019, 23:47 Options

habe folgendes im Netz gefunden:

Zitat:
If you use ps2pdf to convert PostScript files to pdf, you will have noticed that the "General Info" fields in the resulting pdf file are usually blank. This can be avoided by adding a simple "preamble" to the PostScript file before you pass it to ps2pdf:

% Document information
[ /Author (Who am I)
/Title (This is my title)
/Subject (This is a description of the Subject)
/Creator (What Software)
/CreationDate (Spring 1994)
/ModDate (Converted to PDF in 2002-08)
/Keywords (key, words, go, here)
/DOCINFO pdfmark
%% here comes the unchanged PS file
%!PS-Adobe-3.0
...

The resulting PostScript file can still be converted without problems. However, if you really want to ensure that this PostScript file can also be printed on devices that are not aware of the pdfmark operator - such as printers -, you can "undefine" the pdfmark operator in the prologue of the PostScript file:

/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse

In this case, the DOCINFO code above should of course be included in the body of the PostScript code, not at the beginning.

Source: pdfmark Reference Manual (Adobe Technical Note #5150).

Ähnliche Themen

Hilfe antivir
styla110  18.01.2007 - 136 Hits - 2 Antworten

MSN Spy
Tobs  28.05.2007 - 141 Hits -

Hilfe und Supportcenter fehlt
kaneu  02.09.2007 - 232 Hits - 2 Antworten

windows hilfe verschwunden
darrende  17.09.2007 - 294 Hits -

Hinweis

Diese Frage ist schon etwas älter, Sie können daher nicht mehr auf sie antworten. Sollte Ihre Frage noch nicht gelöst sein, stellen Sie einfach eine neue Frage im Forum..

Neue Einträge

Version: supportware 1.9.150 / 10.06.2022, Startzeit:Thu Jan 8 21:07:44 2026