public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* cups on illumos
@ 2023-09-25 16:11 Gabriele Bulfon
  2023-09-25 16:34 ` [developer] " Udo Grabowski (IMK)
  0 siblings, 1 reply; 4+ messages in thread
From: Gabriele Bulfon @ 2023-09-25 16:11 UTC (permalink / raw)
  To: illumos-developer


[-- Attachment #1.1: Type: text/plain, Size: 1104 bytes --]

Hi, I was hoping for some expert of cups that may help to find a solution to this problem driving me mad.
I'm no expert of cups, actually I always tried to stay far far away from it, but now I need to move an old Solaris 10 system onto XStreamOS, and this needs cups.
 
Of 2 printers, one is running fine on both systems, one is correctly running only on the old Solaris 10, but it simply stalls on the new system.
Cups goes from 2.2 to 2.4, the printer is a simple HP LaserJet configured in raw mode, no filter, no driver.
The file is a "%!PS-Adobe-3.0", and the same file prints correctly under Solaris 10.
If I try to run the same file on the new system it simply stalls "connecting" or other stuff.
If I try to run the same file on the new system on another older HP LaserJet it runs fine.
What I cannot understand is why it works on Solaris 10!
 
Anyone can help with this? I'm stuck...(and I hate printers!)

Gabriele
 
 
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
 


[-- Attachment #1.2: Type: text/html, Size: 3158 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [developer] cups on illumos
  2023-09-25 16:11 cups on illumos Gabriele Bulfon
@ 2023-09-25 16:34 ` Udo Grabowski (IMK)
  2023-09-26  9:35   ` Gabriele Bulfon
  0 siblings, 1 reply; 4+ messages in thread
From: Udo Grabowski (IMK) @ 2023-09-25 16:34 UTC (permalink / raw)
  To: developer

[-- Attachment #1: Type: text/plain, Size: 2236 bytes --]

On 25/09/2023 18:11, Gabriele Bulfon via illumos-developer wrote:
> Hi, I was hoping for some expert of cups that may help to find a solution to
> this problem driving me mad.
> I'm no expert of cups, actually I always tried to stay far far away from it, but
> now I need to move an old Solaris 10 system onto XStreamOS, and this needs cups.
>
> Of 2 printers, one is running fine on both systems, one is correctly running
> only on the old Solaris 10, but it simply stalls on the new system.
> Cups goes from 2.2 to 2.4, the printer is a simple HP LaserJet configured in raw
> mode, no filter, no driver.
> The file is a "%!PS-Adobe-3.0", and the same file prints correctly under Solaris 10.
> If I try to run the same file on the new system it simply stalls "connecting" or
> other stuff.
> If I try to run the same file on the new system on another older HP LaserJet it
> runs fine.
> What I cannot understand is why it works on Solaris 10!
>
> Anyone can help with this? I'm stuck...(and I hate printers!)
>
> Gabriele
>
>
> *Sonicle S.r.l. *: http://www.sonicle.com <https://www.sonicle.com/>
> *Music: *http://www.gabrielebulfon.com <http://www.gabrielebulfon.com/>
> *eXoplanets : *https://gabrielebulfon.bandcamp.com/album/exoplanets
>
> *illumos <https://illumos.topicbox.com/latest>* / illumos-developer / see
> discussions <https://illumos.topicbox.com/groups/developer> + participants
> <https://illumos.topicbox.com/groups/developer/members> + delivery options
> <https://illumos.topicbox.com/groups/developer/subscription> Permalink
> <https://illumos.topicbox.com/groups/developer/T19d462238f8c1257-M8827bbc284e519457a19b0a0>
>

Be sure that svc:/application/cups/scheduler:default and
svc:/application/cups/in-lpd:default are running, and

   print-service -q

shows cups.


If the print server is still on your old system, you need to specify

    ServerName  <yourserver>/version=1.1

in /etc/cups/client.conf.
-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5804 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [developer] cups on illumos
  2023-09-25 16:34 ` [developer] " Udo Grabowski (IMK)
@ 2023-09-26  9:35   ` Gabriele Bulfon
  2023-09-26 12:00     ` Udo Grabowski (IMK)
  0 siblings, 1 reply; 4+ messages in thread
From: Gabriele Bulfon @ 2023-09-26  9:35 UTC (permalink / raw)
  To: illumos-developer


[-- Attachment #1.1: Type: text/plain, Size: 3401 bytes --]

Thanks, sure services are up, and the old system must be replaced by the new one, so the new one should be able to print directly to that printer, as did the old Solaris 10.
 
About "print-service", I don't have it because I never installed the print/lp/print-client-commands package, as I don't want to use the old Solari printe client, I just want to use cups.
Should I install this instead and use the "print-service" command to direct it to cups?
In this case, once cups is selected, will the /usr/bin commands automatically use the /usr/lib/cups/bin versions?
 
Gabriele
 
 
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
 




----------------------------------------------------------------------------------

Da: Udo Grabowski (IMK) <udo.grabowski@kit.edu>
A: developer@lists.illumos.org
Data: 25 settembre 2023 18.34.03 CEST
Oggetto: Re: [developer] cups on illumos

On 25/09/2023 18:11, Gabriele Bulfon via illumos-developer wrote:> Hi, I was hoping for some expert of cups that may help to find a solution to> this problem driving me mad.> I'm no expert of cups, actually I always tried to stay far far away from it, but> now I need to move an old Solaris 10 system onto XStreamOS, and this needs cups.>> Of 2 printers, one is running fine on both systems, one is correctly running> only on the old Solaris 10, but it simply stalls on the new system.> Cups goes from 2.2 to 2.4, the printer is a simple HP LaserJet configured in raw> mode, no filter, no driver.> The file is a "%!PS-Adobe-3.0", and the same file prints correctly under Solaris 10.> If I try to run the same file on the new system it simply stalls "connecting" or> other stuff.> If I try to run the same file on the new system on another older HP LaserJet it> runs fine.> What I cannot understand is why it works on Solaris 10!>> Anyone can help with this? I'm stuck...(and I hate printers!)>> Gabriele>>> *Sonicle S.r.l. *: http://www.sonicle.com <https://www.sonicle.com/>> *Music: *http://www.gabrielebulfon.com <http://www.gabrielebulfon.com/>> *eXoplanets : *https://gabrielebulfon.bandcamp.com/album/exoplanets>> *illumos <https://illumos.topicbox.com/latest>* / illumos-developer / see> discussions <https://illumos.topicbox.com/groups/developer> + participants> <https://illumos.topicbox.com/groups/developer/members> + delivery options> <https://illumos.topicbox.com/groups/developer/subscription> Permalink> <https://illumos.topicbox.com/groups/developer/T19d462238f8c1257-M8827bbc284e519457a19b0a0>>Be sure that svc:/application/cups/scheduler:default andsvc:/application/cups/in-lpd:default are running, and   print-service -qshows cups.If the print server is still on your old system, you need to specify    ServerName  <yourserver>/version=1.1in /etc/cups/client.conf.-- Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAThttp://www.imk-asf.kit.edu/english/sat.phpKIT - Karlsruhe Institute of Technology           http://www.kit.eduPostfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026------------------------------------------illumos: illumos-developerPermalink: https://illumos.topicbox.com/groups/developer/T19d462238f8c1257-M781a50210020e616a958b45aDelivery options: https://illumos.topicbox.com/groups/developer/subscription

<<smime.p7s>>

[-- Attachment #1.2: Type: text/html, Size: 5391 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [developer] cups on illumos
  2023-09-26  9:35   ` Gabriele Bulfon
@ 2023-09-26 12:00     ` Udo Grabowski (IMK)
  0 siblings, 0 replies; 4+ messages in thread
From: Udo Grabowski (IMK) @ 2023-09-26 12:00 UTC (permalink / raw)
  To: developer

[-- Attachment #1: Type: text/plain, Size: 1732 bytes --]

On 26/09/2023 11:35, Gabriele Bulfon via illumos-developer wrote:
> Thanks, sure services are up, and the old system must be replaced by the new
> one, so the new one should be able to print directly to that printer, as did the
> old Solaris 10.
>
> About "print-service", I don't have it because I never installed the
> print/lp/print-client-commands package, as I don't want to use the old Solari
> printe client, I just want to use cups.
> Should I install this instead and use the "print-service" command to direct it
> to cups?
> In this case, once cups is selected, will the /usr/bin commands automatically
> use the /usr/lib/cups/bin versions?
>

Even on the newer Hipsters, /usr/bin/lpr and lp point to /sbin/print-service.
I've always have print-service installed:

online Jul_24 svc:/application/print/service-selector:default

and direct it via

print-service -s cups

to cups, although this probably will be abandoned in the near future
since SUN print service has already been obsoleted.

So I can't tell what happens without print-service installed, but
with it, it works for me.

None of the filters nor the ipp listeners are active, but we have
a printer that directly accepts PDF.

You should also check the cups logs, either via https://localhost:631
on the server or the files in /var/log/cups on server and clients. Be
sure that /etc/printers.conf contains the correct descriptions of your
printers on the clients.
-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5804 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-26 12:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-25 16:11 cups on illumos Gabriele Bulfon
2023-09-25 16:34 ` [developer] " Udo Grabowski (IMK)
2023-09-26  9:35   ` Gabriele Bulfon
2023-09-26 12:00     ` Udo Grabowski (IMK)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).