From: "Денис Черносов" <denis0.ru@gmail.com> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] Зеркальный PDF Date: Tue, 17 Feb 2009 14:31:06 +0400 Message-ID: <d77783290902170231q51364430yb92894d96b686182@mail.gmail.com> (raw) In-Reply-To: <4996A5E9.3000004@mail.ru> Здесь нашел описание опции зеркалирования: http://wiki.mopslinux.org/index.php/%D0%9F%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BF%D1%80%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D0%B0 Еще здесь нашел пищу для размышлений: http://community.i-rs.ru/index.php?topic=4991.0 Далее описываю по шагам свой эксперимент: 1) Узнаем про доступные принтеры: $ lpstat -p -d принтер HP_LaserJet_3055 свободен. Отключен с момента Втр 17 Фев 2009 14:04:36 2) Если исходник в txt, pdf или ps (последнее не проверял, но проблем быть не должно) и нужно только отправить на печать, то: $ lp -d HP_LaserJet_3055 -o mirror file_name.pdf 3) Если нужно не печатать на принтер, а получить зеркальный pdf, то нужно: 3.1) поставить через админку cups виртуальный принтер: cups-PDF (virtual printer), имя например PDF-file, в качестве драйвера указать generic -> generic PostScript... 3.2) Скажем, из OOo сделать экспорт в PDF и 3.3) lp -d PDF-file -o mirror ooo2pdf_file.pdf id запроса PDF-file-354 (1 файл.) 3.4) $ ls /var/spool/cups-pdf/user_name/ 262.pdf Замечание: по второй ссылке из приведенных выше замечено, что такой двойной экспорт пагубно влияет на качество выходного документа. Сам не экспериментировал, но надеюсь, что в текущей версии ООо и настройках PDF-принтера в cups хватит настроек, чтобы обеспечить достойный результат. От себя замечу, что был бы счастлив, если бы кто-нибудь смог описать, как обойтись без командной строки и двойной конвертации... -- С уважением, Черносов Денис
prev parent reply other threads:[~2009-02-17 10:31 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-02-03 17:34 altlinuxuser 2009-02-03 19:34 ` ALT Linux User 2009-02-13 19:56 ` altlinuxuser 2009-02-13 22:25 ` ALT Linux User 2009-02-14 9:25 ` altlinuxuser 2009-02-14 9:30 ` Michael Shigorin 2009-02-14 11:07 ` altlinuxuser 2009-02-14 11:43 ` [Comm] Зеркальный PostScript Michael Shigorin 2009-02-17 10:31 ` Денис Черносов [this message]
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=d77783290902170231q51364430yb92894d96b686182@mail.gmail.com \ --to=denis0.ru@gmail.com \ --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