Skip to contentSkip to conversation

What windows driver to use with a CUPS IPP server?

Printing-architecture Forza 4 participants 8 messages Apr 13, 2022 – Apr 21, 2022 1 message not in the archive

lore
Share & tools
lore

Forza

author
#0 lore raw

Hello,

I have a Ubuntu Server 21.10 with CUPS 2.3.3o installed. I've set up to the printers with either socket://printer:9100 or ipp://printer and enabled sharing on each queue. This exposes each CUPS queue as an IPP printer to all clients.

Now my problem is to determine what driver should be used in Windows.

A little background:

We have several Windows clients ranging from WinXP to Win10 that are printing on about a hundred HP printers (LaserJet and PageWide). Currently these machines print through a Windows Printer server, but it is getting more and more difficult to properly support older clients with the HP universal printer drivers. Also from security perspective we need to isolate older clients on separate quite restrictive networks and generally not enable SMB/Samba access.

There is a built-in Windows driver called "MS Publisher Imagesetter" that works pretty well, but it lacks most options such as selecting colour/greyscale or duplex output, as well as exposing proper printer margins and scaling to the applications.

The CUPS server is not on the same broadcast domain as the clients and DNS-SD and similar can not be used. This means that Windows clients cannot automatically detect and setup WSD or IPP queues from CUPS.

Someone on IRC said I should use the native HP drivers, but this seems wrong to me;
* First there are no updated drivers for older clients
* Isn't the idea of CUPS as a printer spooler to separate the client from the printer so that we can use classes etc to direct output without the clients knowing?

I'd be grateful for any suggestions and insights.

Forza

A message that is not in the archive (sent off-list or not yet received): CAK-1bsoup4aNhk3U6NtDg0xVbcBWMVFP2+q-tAOaphb_V2K2iw@mail.gmail.com

#2 lore raw

---------- Forwarded message ---------
From: Mark Dm <[email protected]>
Date: Wed, Apr 13, 2022 at 10:22 PM
Subject: Re: [Printing-architecture] What windows driver to use with a CUPS IPP server?
To: Forza <[email protected]>

I think My WIndows 10 had a Generic "IPP Everywhere" driver installed

Quoted 47 lines · Forza

Hello,

I have a Ubuntu Server 21.10 with CUPS 2.3.3o installed. I've set up to the printers with either socket://printer:9100 or ipp://printer and enabled sharing on each queue. This exposes each CUPS queue as an IPP printer to all clients.

Now my problem is to determine what driver should be used in Windows.

A little background:

We have several Windows clients ranging from WinXP to Win10 that are printing on about a hundred HP printers (LaserJet and PageWide). Currently these machines print through a Windows Printer server, but it is getting more and more difficult to properly support older clients with the HP universal printer drivers. Also from security perspective we need to isolate older clients on separate quite restrictive networks and generally not enable SMB/Samba access.

There is a built-in Windows driver called "MS Publisher Imagesetter" that works pretty well, but it lacks most options such as selecting colour/greyscale or duplex output, as well as exposing proper printer margins and scaling to the applications.

The CUPS server is not on the same broadcast domain as the clients and DNS-SD and similar can not be used. This means that Windows clients cannot automatically detect and setup WSD or IPP queues from CUPS.

Someone on IRC said I should use the native HP drivers, but this seems wrong to me;
* First there are no updated drivers for older clients
* Isn't the idea of CUPS as a printer spooler to separate the client from the printer so that we can use classes etc to direct output without the clients knowing?

I'd be grateful for any suggestions and insights.

Forza

_______________________________________________
Printing-architecture mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture

author
#3 lore raw

---- From: Mark Dm <[email protected]> -- Sent: 2022-04-14 - 07:24 ----

Quoted 3 lines

I think My WIndows 10 had a Generic "IPP Everywhere" driver installed

Hi!

Yes indeed. It is, however, disabled by default. I enabled it on one machine but I had no luck with it to print to cups. Also it is not available on older clients.

Thanks

Quoted 53 lines · Forza
Quoted 40 lines

Hello,

I have a Ubuntu Server 21.10 with CUPS 2.3.3o installed. I've set up to the printers with either socket://printer:9100 or ipp://printer and enabled sharing on each queue. This exposes each CUPS queue as an IPP printer to all clients.

Now my problem is to determine what driver should be used in Windows.

A little background:

We have several Windows clients ranging from WinXP to Win10 that are printing on about a hundred HP printers (LaserJet and PageWide). Currently these machines print through a Windows Printer server, but it is getting more and more difficult to properly support older clients with the HP universal printer drivers. Also from security perspective we need to isolate older clients on separate quite restrictive networks and generally not enable SMB/Samba access.

There is a built-in Windows driver called "MS Publisher Imagesetter" that works pretty well, but it lacks most options such as selecting colour/greyscale or duplex output, as well as exposing proper printer margins and scaling to the applications.

The CUPS server is not on the same broadcast domain as the clients and DNS-SD and similar can not be used. This means that Windows clients cannot automatically detect and setup WSD or IPP queues from CUPS.

Someone on IRC said I should use the native HP drivers, but this seems wrong to me;
* First there are no updated drivers for older clients
* Isn't the idea of CUPS as a printer spooler to separate the client from the printer so that we can use classes etc to direct output without the clients knowing?

I'd be grateful for any suggestions and insights.

Quoted 8 lines

Forza

_______________________________________________
Printing-architecture mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture

_______________________________________________
Printing-architecture mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture

#4 lore raw
In reply to Forza

Hello,

only a general note FYI:

On 2022-04-13 22:24, Forza wrote (excerpt):

Quoted 6 lines

Someone on IRC said I should use the native HP drivers, but this seems wrong to me;
* First there are no updated drivers for older clients
* Isn't the idea of CUPS as a printer spooler to separate the client from the printer so that we can use classes etc to direct output without the clients knowing?

You may have a look at my generic but rather old article
https://en.opensuse.org/SDB:Printing_from_Windows_to_Linux

In general it should be still valid in particular for older Windows versions but some things have changed meanwhile, e.g. in CUPS 2.3 the cupsaddsmb program has been removed, cf.
https://github.com/apple/cups/issues/5449

By the way FYI:
Current CUPS upstream is no longer
https://github.com/apple/cups
and
https://www.cups.org
but nowadays it is
https://github.com/OpenPrinting/cups
and
https://openprinting.github.io/cups

Kind Regards
Johannes Meixner

Signature · 3 lines
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5 - 90409 Nuernberg - Germany
(HRB 36809, AG Nuernberg) GF: Ivo Totev
author
#5 lore raw
Quoted 33 lines · Johannes Meixner

Hello,

only a general note FYI:

On 2022-04-13 22:24, Forza wrote (excerpt):

Quoted 6 lines

Someone on IRC said I should use the native HP drivers, but this seems wrong to me;
* First there are no updated drivers for older clients
* Isn't the idea of CUPS as a printer spooler to separate the client from the printer so that we can use classes etc to direct output without the clients knowing?

You may have a look at my generic but rather old article
https://en.opensuse.org/SDB:Printing_from_Windows_to_Linux

In general it should be still valid in particular for older Windows versions but some things have changed meanwhile, e.g. in CUPS 2.3 the cupsaddsmb program has been removed, cf.
https://github.com/apple/cups/issues/5449

By the way FYI:
Current CUPS upstream is no longer
https://github.com/apple/cups
and
https://www.cups.org
but nowadays it is
https://github.com/OpenPrinting/cups
and
https://openprinting.github.io/cups

Quoted 2 lines

Kind Regards
Johannes Meixner

Thank you for the pointers.

The example "http://server.domain:631/printers/funprinter1000" from https://en.opensuse.org/SDB:Printing_from_Windows_to_Linux#Send_data_via_LPD_protocol_or_IPP is what I am trying to use because we want to close SMB traffic on these clients. Especially the really old ones that can't be upgraded to modern computers/Windows OS.

What I don't fully understand is the RAW queue here. Is the idea to set up a RAW queue from CUPS->printer and then use IPP from Windows->CUPS, but with printer specific printer driver installed in Windows?

I think that ideally, we should not have a printer specific driver in Windows, so that we can use CUPS to handle the printer specifics. But perhaps this is not possible?

Regards,
Forza

#6 lore raw

Hello,

On 2022-04-20 09:35, Forza wrote (excerpt):

Quoted 4 lines

What I don't fully understand is the RAW queue here. Is the idea to set up a RAW queue from CUPS->printer and then use IPP from Windows->CUPS, but with printer specific printer driver installed in Windows?

Yes, and the reasons are described in the section "Why Windows clients have a printer driver installed" in
https://en.opensuse.org/SDB:Printing_from_Windows_to_Linux

Kind Regards
Johannes Meixner

Signature · 3 lines
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5 - 90409 Nuernberg - Germany
(HRB 36809, AG Nuernberg) GF: Ivo Totev
author
#7 lore raw
Quoted 9 lines · Johannes Meixner

Hello,

On 2022-04-20 09:35, Forza wrote (excerpt):

Quoted 4 lines

What I don't fully understand is the RAW queue here. Is the idea to set up a RAW queue from CUPS->printer and then use IPP from Windows->CUPS, but with printer specific printer driver installed in Windows?

Quoted 5 lines

Yes, and the reasons are described in the section "Why Windows clients have a printer driver installed" in
https://en.opensuse.org/SDB:Printing_from_Windows_to_Linux

I understand that Windows needs rendering on the client side. So in my

case this case, I think the best solution is to continue to use the "MS Publisher Imagesetter" printer driver. It generates PS output which CUPS is supporting. The driver is "plain" with no options to set duplex etc which is what I wanted to achieve.

I wonder how Windows is handling IPP Everywhere (driverless) printers in general though? Does Windows have some method to detect options and toner/ink levels from IPP Everywhere printers without a native driver?

Thanks
Forza

#8 lore raw

Forza,

Quoted 3 lines · Forza

...
I wonder how Windows is handling IPP Everywhere (driverless) printers in general though? Does Windows have some method to detect options and toner/ink levels from IPP Everywhere printers without a native driver?

Yes, Windows 10 and higher has an "IPP Class Driver" that works with IPP printers. Aside from some media size and resolution support issues (which Microsoft is actively working on) the basic driver works quite well and is part of their Azure-based Universal Printing solution (which also uses IPP).

________________________
Michael Sweet