printing: Fix getting info for standalone IPP printers

Create printer name from name of the advertised service
for standalone IPP printers as opposed to CUPS printers
advertised via Avahi which get name from their
resource path.
This is similar to what cups-filters does.

Pass GtkPrinter class to request for printer info
so that it does not need to be searched for
(such search could fail for standalone IPP printers).

#1509
5 jobs for 1509-don-t-show-Rejecting-Jobs-when-we-don-t-know in 28 minutes and 17 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build
passed #229478
fedora-x86_64

00:02:50

passed #228478
win32
msys2-mingw32

00:10:58

failed #228477
fedora-x86_64

00:06:05

 
  Flatpak
passed #228479
flatpak:demo

00:14:28

passed #228480
flatpak:widget-factory

00:13:34