Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
конвертация html-страницы в PDF
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  15 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andrey  
View profile   Translate to Translated (View Original)
 More options Oct 23 2006, 4:47 am
From: "Andrey" <anmarty...@gmail.com>
Date: Mon, 23 Oct 2006 08:47:12 -0000
Local: Mon, Oct 23 2006 4:47 am
Subject: конвертация html-страницы в PDF
Всем привет.

Кто какие тулзы использует для
конвертации страниц в PDF формат?
Причем интересует не вывод
поэлементный, а чтобы можно было
подать отрендеренную страницу на вход
и оно само конвертилось в PDF.
Знает кто-нибудь про такое?

Спасибо.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dima  
View profile   Translate to Translated (View Original)
 More options Oct 23 2006, 5:31 am
From: Dima <dima....@gmail.com>
Date: Mon, 23 Oct 2006 13:31:39 +0400
Local: Mon, Oct 23 2006 5:31 am
Subject: Re: конвертация html-страницы в PDF
1. XSL-FO
2. Если на win то можно воспользоватся офисом через COM
--
C уважением
Галинский Дмитрий

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrius Kairiukstis  
View profile   Translate to Translated (View Original)
 More options Oct 23 2006, 7:25 am
From: Andrius Kairiukstis <amberv...@gmail.com>
Date: Mon, 23 Oct 2006 04:25:13 -0700 (PDT)
Local: Mon, Oct 23 2006 7:25 am
Subject: Re:конвертация html-страницы в PDF
in linux just can print to file and then use something like ps2pdf.
_____________________________
I sent this message from my mobile phone using flurry.
Get your email and news on your mobile phone for free at:
http://www.flurry.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ilya  
View profile   Translate to Translated (View Original)
 More options Oct 23 2006, 8:17 am
From: Ilya <nemi...@gmail.com>
Date: Mon, 23 Oct 2006 18:17:56 +0600
Local: Mon, Oct 23 2006 8:17 am
Subject: Re: конвертация html-страницы в PDF
есть ещё
http://www.htmldoc.org/index.php

если через командную строку, то можно использовать как online генератор.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Max Lapshin  
View profile   Translate to Translated (View Original)
 More options Oct 24 2006, 12:09 am
From: Max Lapshin <m...@maxidoors.ru>
Date: Tue, 24 Oct 2006 08:09:27 +0400
Local: Tues, Oct 24 2006 12:09 am
Subject: Re: конвертация html-страницы в PDF

On Oct 23, 2006, at 1:31 PM, Dima wrote:

> 1. XSL-FO
> 2. Если на win то можно воспользоватся  
> офисом через COM

Есть такая маленькая проблема:  
стилизовать XSL-FO практически нереально.
Людей, которые это умеют делать,  
полгода назад в России не нашлось.
Слишком высокая сложность самого XSL-FO  
и непригодность XML-я в нынешнем виде
для чтения его человеком, делают  
невозможным использование XSL-FO
для каких-либо нетривиальных случаев.

LaTeX является гораздо более  
высокоуровневым средством (хотя и со  
своими весельями).
Для него, кстати, есть плагин rtex,  
инкапсулирующий работу с latex-ом.

Он тоже имеет свои проблемы,  
связанные со специфичной версткой, но  
это лучше, чем XSL-FO.

Можно резюмировать: удобного,  
надежного и функционального  
средства, позволяющего
автоматизировать генерацию PDF-а нет.  
ant развивается слишком медленно, LaTeX  
развивается
математиками, а не программистами, XSL-
FO делался программистами без участия  
полиграфистов.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pavel A. Vasev  
View profile   Translate to Translated (View Original)
 More options Oct 24 2006, 6:41 am
From: "Pavel A. Vasev" <cont...@k66.ru>
Date: Tue, 24 Oct 2006 16:41:57 +0600
Local: Tues, Oct 24 2006 6:41 am
Subject: Re: конвертация html-страницы в PDF
Есть такая система Trac, для нее есть плагин который вроде конвертит
его вики-страницы в пдф. В его описании нарисовано, что он использует
HTMLDOC для конвертации (через командную строку). Может это то что
надо?
http://www.easysw.com/htmldoc/

Monday, October 23, 2006, 2:47:12 PM, you wrote:

> Всем привет.
> Кто какие тулзы использует для
> конвертации страниц в PDF формат?
> Причем интересует не вывод
> поэлементный, а чтобы можно было
> подать отрендеренную страницу на вход
> и оно само конвертилось в PDF.
> Знает кто-нибудь про такое?
> Спасибо.

С уважением,
Павел Васёв
www.rbteam.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrey  
View profile   Translate to Translated (View Original)
 More options Oct 24 2006, 9:07 am
From: "Andrey" <anmarty...@gmail.com>
Date: Tue, 24 Oct 2006 13:07:26 -0000
Local: Tues, Oct 24 2006 9:07 am
Subject: Re: конвертация html-страницы в PDF
спасибо всем. буду пробовать. Но если у
кого появятся еще какие варианты -
пишите.

Кстати а есть у кого какие-нибудь
впечатления от PDF::Writer.
Вот тут нашел статейку
http://www.artima.com/rubycs/articles/pdf_writer.html
по теме. Согласно статье у них вроде
есть интерфейс для конвертации:

require "pdf/writer"
      class HelloController < ApplicationController
        # ...
        def pdf
          _pdf = PDF::Writer.new
          _pdf.select_font "Times-Roman"
          _pdf.text "Hello, Ruby.", :font_size => 72, :justification =>
:center

          send_data _pdf.render, :filename => "hello.pdf",
                    :type => "application/pdf"
        end
        # ...
      end


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julian 'Julik' Tarkhanov  
View profile   Translate to Translated (View Original)
 More options Oct 24 2006, 10:10 am
From: Julian 'Julik' Tarkhanov <julian.tarkha...@gmail.com>
Date: Tue, 24 Oct 2006 16:10:28 +0200
Local: Tues, Oct 24 2006 10:10 am
Subject: Re: конвертация html-страницы в PDF

On 24-okt-2006, at 15:07, Andrey wrote:

> Кстати а есть у кого какие-нибудь
> впечатления от PDF::Writer.

Конечно есть. Затолкай в него одну  
русскую букву и посмотри что выйдет.
--
Julian 'Julik' Tarkhanov
please send all personal mail to
me at julik.nl

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "конвертация html-стран" by Andrey
Andrey  
View profile   Translate to Translated (View Original)
 More options Oct 24 2006, 11:12 am
From: "Andrey" <anmarty...@gmail.com>
Date: Tue, 24 Oct 2006 15:12:06 -0000
Local: Tues, Oct 24 2006 11:12 am
Subject: Re: конвертация html-стран

Julian 'Julik' Tarkhanov wrote:
> On 24-okt-2006, at 15:07, Andrey wrote:

> > Кстати а есть у кого какие-нибудь
> > впечатления от PDF::Writer.

> Конечно есть. Затолкай в него одну
> русскую букву и посмотри что выйдет.

Хорошо. А если русских букв не
требуется?
Правда требуются умляуты ..

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "конвертация html-страницы в PDF" by Vladimir Oleynik
Vladimir Oleynik  
View profile   Translate to Translated (View Original)
 More options Oct 24 2006, 11:22 am
From: "Vladimir Oleynik" <voley...@gmail.com>
Date: Tue, 24 Oct 2006 18:22:44 +0300
Local: Tues, Oct 24 2006 11:22 am
Subject: Re: конвертация html-страницы в PDF
On Tue, 24 Oct 2006 17:10:28 +0300, Julian 'Julik' Tarkhanov  

<julian.tarkha...@gmail.com> wrote:
>> впечатления от PDF::Writer.

> Конечно есть. Затолкай в него одну
> русскую букву и посмотри что выйдет.

проблема в шрифтах а не райтере. надо "затолкать" корректные с его точки  
зрения метрики русских фонтов, вопрос должен решиться.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julian 'Julik' Tarkhanov  
View profile   Translate to Translated (View Original)
 More options Oct 24 2006, 12:18 pm
From: Julian 'Julik' Tarkhanov <julian.tarkha...@gmail.com>
Date: Tue, 24 Oct 2006 18:18:41 +0200
Local: Tues, Oct 24 2006 12:18 pm
Subject: Re: конвертация html-страницы в PDF

On 24-okt-2006, at 17:22, Vladimir Oleynik wrote:

> надо "затолкать" корректные с его  
> точки
> зрения метрики русских фонтов,  
> вопрос должен решиться.

пожалуйста, попробуй решить
я думаю что тебя ждет провал но рад  
буду ошибаться

судя по моей коммуникации с Austin Ziegler  
на проблему Юникода в PDF::Writer он  
успешно нас_ал (не в последнюю очередь  
из-за
всех CID-радостей)
--
Julian 'Julik' Tarkhanov
please send all personal mail to
me at julik.nl


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vladimir Oleynik  
View profile   Translate to Translated (View Original)
 More options Oct 24 2006, 12:30 pm
From: "Vladimir Oleynik" <voley...@gmail.com>
Date: Tue, 24 Oct 2006 19:30:35 +0300
Local: Tues, Oct 24 2006 12:30 pm
Subject: Re: конвертация html-страницы в PDF
On Tue, 24 Oct 2006 19:18:41 +0300, Julian 'Julik' Tarkhanov  

<julian.tarkha...@gmail.com> wrote:

> On 24-okt-2006, at 17:22, Vladimir Oleynik wrote:

>> надо "затолкать" корректные с его
>> точки
>> зрения метрики русских фонтов,
>> вопрос должен решиться.
> пожалуйста, попробуй решить

попробую на досуге (беда в том что "для дела" мне не надо выводить ничего  
русского в ПДФ, а с первого пинка, который я сделал, любой русский type1  
фонт нарывается на "bad BBox in metrics" error)

> я думаю что тебя ждет провал но рад
> буду ошибаться

> судя по моей коммуникации с Austin Ziegler
> на проблему Юникода в PDF::Writer он
> успешно нас_ал (не в последнюю очередь
> из-за
> всех CID-радостей)

а кто говорил про Юникод? да, PDF::Writerу надо отдавать в 8битной  
коировке фонта.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Max Lapshin  
View profile   Translate to Translated (View Original)
 More options Oct 24 2006, 3:57 pm
From: Max Lapshin <m...@maxidoors.ru>
Date: Tue, 24 Oct 2006 23:57:41 +0400
Local: Tues, Oct 24 2006 3:57 pm
Subject: Re: конвертация html-страницы в PDF

> Кстати а есть у кого какие-нибудь
> впечатления от PDF::Writer.

Полный идиотизм самому генерировать  
PostScript. Очень интересно самому
разобраться с постскриптом и решать  
тысячу и одну полиграфскую проблему,  
все из которых
имеют экспоненциальный характер  
самому.

Кроме TeX-а реально выбора больше  
никакого нет, если нужно что-то  
сложнее и красивее,
чем убогие настройки по-умолчанию в XSL-
FO и т.п.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Max Lapshin  
View profile   Translate to Translated (View Original)
 More options Oct 24 2006, 3:59 pm
From: Max Lapshin <m...@maxidoors.ru>
Date: Tue, 24 Oct 2006 23:59:28 +0400
Local: Tues, Oct 24 2006 3:59 pm
Subject: Re: конвертация html-страницы в PDF

> судя по моей коммуникации с Austin Ziegler
> на проблему Юникода в PDF::Writer он
> успешно нас_ал (не в последнюю очередь
> из-за
> всех CID-радостей)

Что еще раз доказывает тот печальный  
факт, что индустрия нуждается в  
нормальном средстве
автоматизированной верстки. LaTeX надо  
похоронить, забыть как страшный сон и  
вместо него
сделать что-то хорошее. Например,  
помочь Блюхембахеру дописать на  OCamle  
его ant.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michail Pishchagin  
View profile   Translate to Translated (View Original)
 More options Oct 25 2006, 2:56 am
From: Michail Pishchagin <mailf...@mail.ru>
Date: Wed, 25 Oct 2006 10:56:58 +0400
Local: Wed, Oct 25 2006 2:56 am
Subject: Re: конвертация html-страницы в PDF

Andrey wrote:
> Кто какие тулзы использует для
> конвертации страниц в PDF формат?

Еще есть http://www.princexml.com/.

--
Michail


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google