From: Alexander Yereschenko <ave4600@gmail.com> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] CUPS автоматическое перенаправление на другой принтер Date: Tue, 10 Nov 2015 21:45:57 +0300 Message-ID: <56423B65.3060603@gmail.com> (raw) In-Reply-To: <20151109084857.GE21578@imap.altlinux.org> 09.11.2015 11:48, Michael Shigorin пишет: > On Sat, Nov 07, 2015 at 10:57:49PM +0300, Alexander Yereschenko wrote: >> Тут появилась идея, локально вроде работает, в понедельник >> проверю вживую. Да, всё работает. > Может быть полезно задокументировать кратенько на вики, опять же > -- я вот из этого письма для себя новое извлёк. :) Вот даже не знаю, про что именно писать. Собственно идея не нова. Именно так и работают классы/группы принтеров в CUPS - для этого и задумывалось: Приложение печатает на группу, а реальная печать идет на первый доступный (или как идёт распределение?) принтер из группы. Это я уже потом вспомнил, что когда-то где-то читал про CUPS и там про группы принтеров было написано. Ну а я это применил уже конкретно к своему случаю. >> Запоминаем имя принтера на машине 1. Переименовываем принтер >> на машине 1, создаем на этой машине класс принтеров со старым >> именем принтера. Добавляем в этот класс физический принтер на >> машине 1 и принтер на машине 2. Принтер 1 выставляем как >> неактивный. По идее, все остальные не должны увидеть подмены >> и продолжат печатать уже на класс принтеров с тем же самым >> именем, а класс принтеров будет распределять задания на >> активные принтера из этого класса. Я еще убрал с общего доступа принтер 1, а выставил общий доступ только к классу. -- Alexander
prev parent reply other threads:[~2015-11-10 18:45 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-11-07 15:11 Alexander Yereschenko 2015-11-07 15:17 ` Hihin Ruslan 2015-11-07 19:57 ` Alexander Yereschenko 2015-11-09 8:48 ` Michael Shigorin 2015-11-10 18:45 ` Alexander Yereschenko [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=56423B65.3060603@gmail.com \ --to=ave4600@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