ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Дегтярёв Дмитрий" <ddv@nevod.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] ps2pdf
Date: Tue, 02 Sep 2008 11:41:25 +0600
Message-ID: <48BCD205.4050705@nevod.ru> (raw)
In-Reply-To: <op.ugt9qpj6mb8vzs@oc.peooc.net>

[-- Attachment #1: Type: text/plain, Size: 1758 bytes --]

Aleksander N.Gorohovski пишет:
> On Tue, 02 Sep 2008 08:27:30 +0300, Дегтярёв Дмитрий wrote:
>
>> Дегтярёв Дмитрий пишет:
>>> Aleksander N.Gorohovski пишет:
>>>> Доброго времени суток уважаемое сообщество!
>>>>
>>>> Подскажите кто знает в каком пакете (ALT Desktop 4.x) находится
>>>> ps2pdf
>>>>
>>>> Просмотрел
>>>> $ apt-cache search ps2pdf
>>>>
>>>> APT ничего не находит.
>>>>
>>>> p.s.
>>>> Мне собственно нужно многостраничный (~10c.) ps-файл
>>>> разбить на отдельные pdf-картинки.
>>>>
>>>> Может это какой иной программой можно сделать
>>>> ?
>>>>
>>>> Спасибо.
>
>>> # rpm -qf `which ps2pdf`
>>> ghostscript-utils-8.15.4-alt1.M40.2
>>>
>>>
>>> для разбиения используйте команду convert.
>>> Например:
>>> # conver 1.ps 1.jpg
>>> # ls
>>> 1_0.jpeg 1_1.jpg 1_2.jpg 1_3.jpg
>>> # convert -adjoin 1_0.jpeg 1_1.jpeg 1.pdf
>>> # convert -adjoin 1_2.jpeg 1_3.jpeg 2.pdf
>>>
>>> В результате я получил из 4х страниц файла 1.ps 2 файла 1.pdf и 2.pdf
>>> по 2 страницы в каждом.
>>>
>>> Вообще читаем man convert
>> Прошу прощения, опечатался!
>> *
>> для разбиения используйте команду convert.
>> Например:
>> # conver 1.ps 1.jpg
>> # ls
>> 1_0.jpeg 1_1.jpg 1_2.jpg 1_3.jpg
>> # convert -adjoin 1_0.jpg 1_1.jpg 1.pdf
>> # convert -adjoin 1_2.jpg 1_3.jpg 2.pdf
>
> О, Дима,
> Премного благодарен.
>
> Только, тут возник вопрос:
>
> А разве сразу нельзя в PDF,
> а то получается сначала растр (JPG)
> и наверное качество готового PDF ухудшится.
Скажем так. Компьютерную графику я изучал, но абстрактно без конкретики. 
Поэтому из какого формата в какой правильно конвертировать я не знаю, но 
я в курсе что нельзя канвертировать из формата X в Y, а из Y в X можно.

С теорией закончим, теперь с практика: чисто на глаз меня качество 
всегда устраивало. :-))

[-- Attachment #2: ddv.vcf --]
[-- Type: text/x-vcard, Size: 1091 bytes --]

begin:vcard
fn;quoted-printable:=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 =D0=94=D0=B5=D0=B3=D1=82=D1=8F=
	=D1=80=D1=91=D0=B2
n;quoted-printable;quoted-printable:=D0=94=D0=B5=D0=B3=D1=82=D1=8F=D1=80=D1=91=D0=B2;=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9
org;quoted-printable:=D0=9E=D0=9E=D0=9E "=D0=9D=D0=95=D0=92=D0=9E=D0=94"
adr;quoted-printable;quoted-printable;quoted-printable;quoted-printable:;;=D0=9A=D0=BE=D0=BC=D1=81=D0=BE=D0=BC=D0=BE=D0=BB=D1=8C=D1=81=D0=BA=D0=B8=D0=
	=B9 =D0=BF=D1=80=D0=BE=D1=81=D0=BF=D0=B5=D0=BA=D1=82 34, =D0=BE=D1=84=D0=B8=
	=D1=81 519;=D0=9F=D0=B5=D1=80=D0=BC=D1=8C;=D0=9F=D0=B5=D1=80=D0=BC=D1=81=D0=BA=D0=B8=D0=B9 =D0=BA=D1=80=D0=B0=D0=B9=
	;614000;=D0=A0=D0=BE=D1=81=D1=81=D0=B8=D0=B9=D1=81=D0=BA=D0=B0=D1=8F =D0=A4=D0=B5=
	=D0=B4=D0=B5=D1=80=D0=B0=D1=86=D0=B8=D1=8F
email;internet:ddv@nevod.ru
title;quoted-printable:=D0=A1=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D0=BD=D1=8B=D0=B9 =D0=B8=D0=BD=D1=82=
	=D0=B5=D0=B3=D1=80=D0=B0=D1=82=D0=BE=D1=80
tel;work:+73422196960,+73422385309
tel;cell:+79082555386
x-mozilla-html:FALSE
url:www.nevod.ru
version:2.1
end:vcard


  reply	other threads:[~2008-09-02  5:41 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02  5:16 Aleksander N.Gorohovski
2008-09-02  5:19 ` Denis G. Samsonenko
2008-09-02  5:27   ` Aleksander N.Gorohovski
2008-09-02  5:25 ` Дегтярёв Дмитрий
2008-09-02  5:27   ` Дегтярёв Дмитрий
2008-09-02  5:33     ` Aleksander N.Gorohovski
2008-09-02  5:41       ` Дегтярёв Дмитрий [this message]
2008-09-02  5:44       ` Дегтярёв Дмитрий
2008-09-02  6:05         ` Aleksander N.Gorohovski
2008-09-02  6:28           ` Дегтярёв Дмитрий
2008-09-02 11:13             ` Aleksander N. Gorohovski
2008-09-02  8:06   ` Yury Aliaev
2008-09-02 19:27     ` Michael Shigorin
2008-09-02 19:31       ` Andrey Rahmatullin
2008-09-02 19:59         ` Michael Shigorin
2008-09-02 20:05           ` Mikhail Gusarov
2008-09-02 21:07             ` Alexey Tourbin
2008-09-02 21:42               ` Alexey Tourbin
2008-09-02 21:53                 ` Mikhail Gusarov
2008-09-03 20:14                 ` [Comm] apt-file Michael Shigorin
2008-09-03 20:16                   ` Mikhail Gusarov
2008-09-02 21:21             ` Michael Shigorin
2008-09-02 21:45               ` Alexey Tourbin
2008-09-03  3:54                 ` Andrey Rahmatullin
2008-09-03  6:54                   ` Yury Aliaev
2008-09-03 20:18                 ` Michael Shigorin
2008-09-03  6:45         ` [Comm] ps2pdf Yury Aliaev
2008-09-02 18:07   ` Denis Kirienko
2008-09-02 19:52     ` Aleksander N.Gorohovski
2008-09-02 20:35       ` Denis Kirienko
2008-09-02  8:33 ` Alexey I. Froloff
2008-09-02 10:37   ` Aleksander N. Gorohovski
2008-09-02 11:58     ` Yury Aliaev
2008-09-02 11:51       ` Aleksander N. Gorohovski
2008-09-02 19:25       ` Michael Shigorin
2008-09-02 19:33         ` Andrey Rahmatullin
2008-09-02 19:58           ` Michael Shigorin
2008-09-02 20:20         ` Alexey I. Froloff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48BCD205.4050705@nevod.ru \
    --to=ddv@nevod.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git