On Mon, 10 Nov 2008, Mieszko Kaczmarczyk wrote:
Tuesday 28 October 2008 13:15:33 Stacho Pal napisa?(a):
Szukam konsolowego narzędzia do konwersji plików txt do pdf.
Znalazłem "odwrotne", znaczy pdf do txt, coś pod gui,
ale nie o to mi chodzi. Jedyny spsób jaki teraz przychodzi
mi do głowy to zainstalowanie cups-pdf.
Jest jaka? prostsza metoda?

a moze wystarczy

gs -sDEVICE=pdfwrite -sOutputFile=plik.pdf plik.txt
=======================
gs -sDEVICE=pdfwrite -sOutputFile=test.pdf test
GPL Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /undefined in Ala
Operand stack:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1905 1 3 %oparray_pop 1904 1 3 %oparray_pop 1888 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
   --dict:1147/1684(ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--
Current allocation mode is local
Current file position is 4
GPL Ghostscript 8.62: Unrecoverable error, exit code 1
======================
Przy czym test zawiera:
Ala ma kota!
Próbowałem na Ac i Th, powstaje plik pdf ale jest "pusty". :(
--
pzdr
Stacho Pal
_______________________________________________
pld-users-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-users-pl

Odpowiedź listem elektroniczym