Сетевой принтер - прямая Печать или через общий принтер на Сервере?

Ваш сервер iptables конфигурация не является (непосредственно) проблемой. Скорее всего, информационное соединение ftp сервера блокируется от достижения Вашего клиентского компьютера. По умолчанию FTP использует так называемый "активный" режим, посредством чего сервер на самом деле пытается открыть передачу данных назад для клиента. Потребительские маршрутизаторы NAT будут обычно блокировать это, ведя к тайм-ауту соединения, который Вы отметили.

Установите свой клиент FTP для использования "пассивного" режима, и он должен работать. Если это не делает, проверьте что nf_conntrack_ftp модуль ядра (более старые ядра называют его ip_conntrack_ftp) загружается на сервере:

sudo lsmod | grep conntrack_ftp

Если вышеупомянутая команда ничего не возвращает, то модуль не загружается, и необходимо загрузить его, следующим образом:

sudo modprobe nf_conntrack_ftp

Кроме того, Вы захотите удостовериться, что модуль загружается во время начальной загрузки путем помещения nf_conntrack_ftp в /etc/modules.

nf_conntrack_ftp модуль ядра отслеживает состояние соединений FTP на сервере. Это позволит "пассивному" соединению режима от Вашего клиентского компьютера быть принятым СВЯЗАННЫМ правилом состояния о Вашей ВХОДНОЙ цепочке.

7
задан 14 December 2012 в 23:36
6 ответов

Еще одно преимущество совместного использования принтеров на сервере печати - это обнаружение принтеров. Если вы публикуете принтер в AD, это упрощает пользователю обнаружение и добавление принтера.

Кроме того, это мое мнение, но оно основано на моем опыте работы в более крупных корпоративных средах: я думаю, вы обнаружите, что совместное использование принтеры с сервера печати (или серверов печати) - это стандартный способ сделать их доступными для пользователей. Я никогда не видел корпоративную среду (с более чем несколькими пользователями), в которой пользователи подключались бы напрямую к принтеру. Я думаю, что это сделало бы управление принтером, контроль и устранение неисправностей более громоздким. Важной частью управления любой ИТ-инфраструктурой является эффективность, а подключение пользователей напрямую к принтерам не очень эффективно с точки зрения управляемости.

7
ответ дан 2 December 2019 в 23:23

The answer may depend on the size of your network.

For a smaller network (perhaps no AD or servers) then users very well might just connect directly to a printer via IP. In that small of a network, it may well be better to connect directly rather than using a shared printer off of another workstation, in case the workstation sharing the printer were to be suddenly turned off.

For a small/mid-size network (with Active Directory), I usually use the AD as the printer server, load printer drivers (32 and 64 bit) on it and have them listed in Active Directory.

For larger networks, you should consider separating the print server (or have multiple) from the Active Directory, but listing them in the Active Directory is still a good idea. See the other comment in the responses regarding ACLs and permissions, as well.

Using the print server lets you manage printers centrally (for printer job/queue management), and the more printers you have, the more you'll want a print server to manage them. Being able to go into the printer from a central management point and clear a stuck job, check printer status or something is helpful sometimes.

It's nice for users to be able to auto-download drivers from the print server when you're installing a printer for the first time. Having them listed in AD also makes them easy to find for client workstations/end user and allows you to give the printer a common user-friendly name.

An alternative to listing/using AD (or even a printer server at all) that allows you to at least keep printer naming simple is to use a local network DNS name mapped to the printer's IP (and set the IP in the printer to be static). It's not too hard for a user to find a printer, add a printer, or know what it is if it has a friendly or easy to identify name.

Unless you have an unusually high volume of print jobs or an unreliable print server, going through a print server shouldn't be an issue.

Sometimes (rarely), I do print direct via IP when I'm dealing with Linux or Mac systems, to avoid having to set up connectivity with Samba on them, although these days Samba on Linux/Mac works really well.

EDIT: Updated based on feedback from comments below.

4
ответ дан 2 December 2019 в 23:23

If the network printer has enough RAM and processing power then yes, printing direct via IP is the standard methodology. However, if you have a need to audit things such as department printing for charge-back to agents (common in Real Estate) or other metrics that are not provided by the device itself, then you will need to install the device to a print server (Windows or Linux) and share it out. Of course, the OS platform will depend on the auditing / monitoring software requirements.

1
ответ дан 2 December 2019 в 23:23

It depends on your site, and what sort of functionality that you need. If you don't need the extra functionality that the print server brings... why include it? You're only introducing another point of failure - with no extra redundancy.

If you're asking which is the most efficient in terms of network traffic, I really wouldn't worry about it unless you're printing a lot of documents... and if that's the case - go for the print server.

1
ответ дан 2 December 2019 в 23:23

The only real advantage of printing via a print server is that the documents can be managed much more easily, because it can be done from a central point. This can be significant when there's a problem. While in an ideal world all printing would be via the print server, even for that reason alone, Windows does not exist in an ideal world.

It's not at all uncommon to experience driver issues and odd behaviour when connecting via a print server. I've noticed that this is even common when mixing 32 and 64 bit operating systems and yet more common when you use 64 bits and one of the HP "universal" drivers. "Universal" in this context meaning that it doesn't work very well for anything.

What I prefer to do is start by configuring the print server and try to connect everyone that way. Only when problems arise that can't be readily solved will I connect them directly to the printer.

1
ответ дан 2 December 2019 в 23:23

Дальнейшее расследование показало, что GPP Computer Config может напрямую подключать принтер TCP / IP, просто ему нужен «фиктивный» общий ресурс принтера для получения драйвера принтера. На самом деле он не использует эту фиктивную очередь печати для печати, а делает это напрямую с сетевым принтером.

0
ответ дан 2 December 2019 в 23:23

Теги

Похожие вопросы