Используйте протокол lpr для общей печати faq windows

Как известно, последние (лето-осень 2021 г.) обновления в Windows 10 внесли помехи в работу подсистемы печати. Ниже описывается способ скорректировать работу системы, чтобы можно было продолжать пользоваться функцией печати. Для простоты изложения, в обоих случаях (и клиент, и сервер) приводятся настройки в среде Windows 7.

  1. Настройка компьютера, к которому подключен принтер (компьютер-сервер)
    1. перед началом настройки компьютера-сервера, рекомендуется войти в систему с правами администратора
    2. Запомнить IP-адрес, а еще лучше — сетевое имя компьютера-сервера: идем в cmd.exe, даем команду echo %computername% и смотрим результат (вывод) этой команды, запоминаем или записываем его, например RD-VM017

    3. Принтер должен быть сетевым, то есть расшаренным в сети Microsoft; запоминаем сетевое имя принтера, например prn-shared
    4. если принтер не расшарен — расшариваем его, пуск – устройства и принтеры – находим наш принтер – правой кнопкой мыши вызываем контекстное меню – свойства принтера – переходим во вкладку доступа – открываем доступ по сети Microsoft, запоминаем сетевое имя принтера, например prn-shared

    5. Ставим сервер LPD. Пуск – панель управления – программы и компоненты – включение или отключение компонентов Windows. Далее проверить что включен, и если нет, то включить: Службы печати и документов – службы печати LPD (нажать ОК после включения).

    6. На этом настройка компьютера-сервера закончена, не забываем выйти из рабочего стола администратора
  2. Настройка компьютера-клиента
    1. Эту часть инструкции можно делать под обычным пользователем, но в процессе настройки система может потребовать ввода пароля администратора
    2. Пуск – устройства и принтеры
    3. Установка принтера
    4. Добавить сетевой, беспроводной или Bluetooth-принтер
    5. Нужный принтер отсутствует в списке
    6. Добавить принтер по его TCP/IP-адресу или имени узла
    7. Тип устройства – устройство TCP/IP, имя или IP-адрес RD-VM017 (см. пункт 1.2.)

    8. Требуются дополнительные сведения о порте. Оставить Обычное “Generic Network Card”
    9. Выбрать подходящий драйвер принтера

    10. Выбрать “Нет общего доступа к этому принтеру”
    11. При необходимости Поставить галочку “Использовать этот принтер по умолчанию”
    12. Нажать “Готово”
    13. В окне со списком принтеров, найти созданный принтер (в предыдущих пунктах было его имя), нажать на нем правой кнопкой мыши и выбрать в контекстном меню “Свойства принтера”
    14. Перейти во вкладку “Порты”. Нажать на “Настроить порт…”, порт не выбираем, он уже выбран.
    15. Протокол — LPR, имя очереди — prn-shared (см. пункты 1.3, 1.4.), поставить галку “Разрешен подсчет байтов в LPR”. ОК.

    16. Закрываем настройки порта (ОК) и принтера (Закрыть)
    17. Еще раз заходим в свойства принтера, в окне устройства и принтера на нашем принтере жмем правой кнопкой, свойства принтера, в окне свойств вкладка “Общие”, жмем на кнопку “Пробная печать”.
    18. Если пробная страница напечатана, то все ОК, и мы настроили доступ по протоколу LPR/LPD правильно.
  3. Профит.

[Беспроводной маршрутизатор] Как настроить сетевой принтер с помощью LPR/LPD в Windows?

Вы можете использовать свой принтер совместно с компьютерами, работающими под управлением операционной системы Windows и MAC, с помощью LPR/LPD (Line Printer Remote/Line Printer Daemon).

Для настройки сетевого принтера LPR выполните следующие действия для операционных систем Windows:

Примечание: Если на Вашем компьютере уже установлен локальный принтер, обратитесь к официальным инструкциям Windows для его установки.  Установка принтера в Windows — Microsoft Support

1. Подключите USB-принтер к маршрутизатору ASUS, а затем подключите компьютер к тому же маршрутизатору с помощью проводного или Wi-Fi.

2. Введите и найдите [ Принтеры и сканеры ] в строке поиска Windows, нажмите [ Открыть ].

3. Рядом с пунктом «Добавить принтер и сканер» нажмите [Добавить устройство]. Если Вашего принтера нет в списке, рядом с пунктом «Мне нужен принтер отсутствует в списке» нажмите [Добавить вручную].

4. Выберите [Добавить локальный принтер или сетевой принтер с ручными настройками], нажмите [Далее].

5. Выберите [Создать новый порт], затем установите Тип порта на [Стандартный порт TCP/IP], нажмите [Далее].

6.Введите IP-адрес маршрутизатора в поле «Имя хоста» или IP-адрес (например, 192.168.50.1), нажмите [Далее].

   Чтобы проверить IP-адрес роутера ASUS, обратитесь к FAQ. [LAN] Как изменить IP-адрес локальной сети на маршрутизаторе ASUS

7. Выберите [Пользовательский] и нажмите [Настройки].

8. Установите для параметра [Протокол] значение [LPR]. В поле «Имя очереди» введите [ LPRServer ], затем нажмите [ OK ], чтобы продолжить.

9. Нажмите [Далее], чтобы завершить настройку стандартного порта TCP/IP.

10. Выберите и установите драйвер принтера из списка производителей, затем нажмите [Далее], чтобы продолжить.

      Если Вашего принтера нет в списке, нажмите [Установить с диска], чтобы вручную назначить местоположение драйвера.

      Инструкции см. на официальном веб-сайте операционной системы Microsoft Windows. Как загрузить и установить последние версии драйверов принтера — Microsoft Support

 

11. Нажмите [Далее], чтобы принять имя принтера по умолчанию.

12. Как показано на рисунке ниже, установка нового принтера завершена.

If you do not have the drivers for the printer you are connecting to, please download them from the manufactureres website before proceeding with these steps.

Installing the Windows Components

1) Click the Windows button, then type “control panel”.

2) Click Control Panel to open it.

3) Click “Programs

4) Click “Turn Windows Features on or off

5) Expand Print and Document Services, make sure LPD Print Service and LPR Port Monitor are both checked. If they are not click both boxes to do so.

Connecting to the Printer

1) Click the Windows button, then type «devices and printers”.

2) Click Devices and Printers to open it.

3) Select «Add a Printer«.

4) Select «Add a local printer or network printer with manual settings«.

5) Select «Create a new port«, under «Type of port» choose LPR port. Click Next.

6) Enter the following information:

Name or address of server providing lpd: wave.itg.ias.edu

Name of the printer or print queue on that server: Enter the name of the printer you are trying to connect to

7) Click OK, select the correct driver for your chosen printer.

8) Enter a name for the printer; it is recommended to use the listed name of the printer or print queue.

9) Select «Do not share this printer«, click Next.

The following steps enable LPD communication to send print jobs from a non-Windows server (HPe3000, AS400, Unix) to a Windows system, where the eFORMz merge process takes place. 

STEP 1: Enable TCP/IP Print Server for LPD Communication

Windows 10 

From the Start menu:
1. Enable the LPR Monitor in Windows Features by navigating to Start > Control Panel > Programs > Programs and Features > “Turn Windows Features on or off.” Navigate to Print and Document Services, expand the menu and check the LPR Port Monitor box.

lpd_win1

Windows Server 2008 and higher

From Server Manager:
1. Click on Add Roles.
2. Select Print and Document Services.
3. Add LPD Services.

If the LPD setup through the Standard TCP/IP Port is blocked by Active Directory, consult eFORMz Print from Windows Server to Network Printer.

If your system gives a message that it requires administrative authority, complete the following steps instead:

  1. Open a Command Prompt window as Administrator.
  2. Run the following command:

    dism /online /enable-feature /all /featurename:Printing-LPDPrintService

  3. Close the Command Prompt window.

STEP 2: Start the TCP/IP Print Server Service

Confirm that the TCP/IP Print Server Service is started:
1. From your Windows Control Panel select Administrative Tools.
2. Select Services. A listing of all services running on your Windows platform will display. Select LPD Services.
3. Start LPD Services if not started already and select Automatic as the Startup Type.

lpd_win2

STEP 3: Configure the eFORMz Port Monitor

To capture incoming print files (or spool files) from a non-Windows server to a directory on your Windows operating system, view the following tutorial.

Deprecation notice: Microsoft announced that the LPD Service was deprecated starting in Windows Server 2012 R2. The service is still available in Windows Server 2016 and Windows Server 2019.

Cover image for How to Enable LPD Print Service in Windows 11?

The LPD Print Service in Windows 11 allows the system to accept print jobs from remote computers using the LPD protocol. It is a part of Print and Document Services in Windows 11. The Line Printer Daemon (LPD) protocol is a network protocol used to submit print jobs to a remote printer. It was originally developed for Unix systems but has been widely adopted and implemented on various platforms, including Windows. Here are the steps to enable this feature in Windows 11.

Key Steps:

  • Open Windows Features.
  • Locate Print and Document Services.
  • Expand it and enable LPD Print Service in Windows 11.
  • Open Run Command and execute the following command. appwiz.cpl

appwiz.cpl

appwiz.cpl

  • From the left pane, click on Turn Windows Features on or off.

Turn Windows Features on or off

Turn Windows Features on or off

  • Search and Locate Print and Document Services from the list of features available. Expand the Node.

Expand Print and Document Services

Expand Print and Document Services

  • Now, you can find “ LPD Print Service “. Click on the checkbox next to it, and click OK.

Enable LPD Print Service in Windows 11

Enable LPD Print Service in Windows 11

  • Windows will search for the required files.

Searching for Required Files

Searching for Required Files

  • Then, the necessary changes will be applied.

Applying Changes

Applying Changes

  • Click Restart if you are prompted to restart or click Close accordingly. However, it is suggested that the changes be restarted right away so that they will be reflected.

Close

Close

  • LPD Print Service is now enabled in Windows 11. Enjoy Cross-Platform Printing.

Infomation on the Go!

The LPD protocol facilitates the transfer of print jobs between clients and printers over a network. It is part of the Berkeley printing system and operates over TCP/IP networks. The protocol uses a client-server model where the client sends print jobs to the server (daemon), which manages the printing process.

Recommendations related to LPD Print Service:

Some formalities are to be considered after enabling the LPD Print Service in Windows 11.

Configuring Firewall Rules:

Allow LPD Service through the Firewall

To ensure proper communication, configure your firewall to allow LPD print jobs. Go to Control Panel > System and Security > Windows Defender Firewall > Allow on App through Firewall.

Setting up Automatic Startup:

Set up LPD Service Startup to Automatic

LPR Command-Line Tool:

  • Windows includes the LPR command-line tool for sending print jobs to a network printer that uses LPD. This can be handy for scripting print jobs. The syntax is as follows lpr -S servername -P printername /printername /servername

Security Considerations:

  • The LPD protocol was designed at a time when network security was not a primary concern. Therefore, it does not include any built-in mechanisms for authenticating clients or encrypting data , making it susceptible to unauthorized access and eavesdropping.

  • Although LPD uses port 515 by default, you can configure it to use a different port if needed. This might be useful for security purposes or to avoid conflicts with other services. You can adjust firewall rules and service configurations accordingly.

  • Use IPsec (Internet Protocol Security) to encrypt print jobs sent over the network. This ensures that sensitive documents are protected during transmission.

Take away:

LPD Print Service in Windows 11 is particularly useful for supporting legacy systems that do not have drivers for modern printing protocols. Many older Unix/Linux systems or applications may still rely on LPD, making it a valuable service for maintaining compatibility with these systems. Happy Printing! Peace out!

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как установить debian вместе с windows
  • Где лежат прошивки в itunes windows 10
  • Иконки hello kitty windows 10
  • Характеристики windows 11 pro технические
  • Программа для жесткого диска для работы с разделами жесткого диска windows