lpsched    runs as root.

//Lars


Nishimura, Scott L (IT Solutions) skrev:
Art,

   Tom informed me that we're not using the "follow-me" printing so I'm
not sure if that makes comparisons between our environments invalid.

Here are the options in my uttsc string:

-m -b -A 16 -r disk:G:=/tmp/SUNWut/mnt/${USER} -r scard:on -r
printer:hplj3000-lynne="HP LaserJet P3005 PS" -d our_domain -u "" $1


An observation on the pure Solaris printing:

:ls -lah /tmp/SUNWut/units/IEEE802.00144fa81d96/devices/u...@1
total 16
drwxr-xr-x   2 root     root         199 Jan 26 14:01 .
drwxr-xr-x   3 root     root         244 Jan 26 13:54 ..
crw-------   1 utku148  root     231, 131072 Jan 26 14:01
HP,deskjet_d1300_ser...@2

Don't the perms displayed [600] prohibit printing for any user other
than utku148?  So if you did a test print within Solaris, I would expect
it to fail as I assume you did not "su utku148" before you did the test
[?].



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Art Peck
Sent: Wednesday, January 27, 2010 5:36 AM
To: [email protected]
Subject: EXTERNAL:Re: [SunRay-Users] SunRay-Users Digest, Vol 72, Issue
32



[email protected] wrote:
Message: 3
Date: Tue, 26 Jan 2010 17:00:08 -0600
From: "Nishimura, Scott L (IT Solutions)" <[email protected]>
To: "SunRay-Users mailing list" <[email protected]>
Subject: Re: [SunRay-Users] EXTERNAL: Local attached printer not
    working
Message-ID:
    <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Art,

-          How did you set up the UNIX print queue?
lpadmin -p 00144fa81d96 -v /tmp/SUNWut/units/IEEE802.00144fa81d96 /dev/printers/HP.....
-          Did you install the appropriate HP DJ printer driver on
your
WTS?
Haven't even gotten this far yet. I can't get it print from Solaris even

if I cat /etc/motd > /tmp/SUNWut/units/...... I get the same permissions

denied error
-          What options are you using in your uttsc string when
connecting to Windows?


-m -b -r printer:SR-Default
I know Tom Anderson got this to work, since he selfishly uses a local
printer instead of nobly walking to the common area printer.   Maybe
he'll chime in.
Tom's situation was different if I recall the thread correctly. His SR DTU was on a LAN accessable to the SR server. Mine is remote through a ComCast modem which means it's NAT'd.
One caveat:  we got it to work using SPARC, not x86.
I've used both. Both work.
Scott

From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Tuesday, January 26, 2010 2:04 PM
To: [email protected]
Subject: EXTERNAL:[SunRay-Users] Local attached printer not working

Environment:

Solaris 10 5/09 s10x_u7wos_08 X86
SRSS 4.2
Follow-me-kiosk-printing from ThinkThin
Mitel UIC kiosk session for telephony integration
meta kiosk for data session selection started by Mitel kiosk session
Sun Ray 2 connected through a Linksys 100mbit switch to a Linksys
router
to a Comcast cable modem

Observations:

Printer is plugged into SR2 front USB port and is recognized by SRSS.
Device node is created in

/tmp/SUNWut/units//tmp/SUNWut/units/IEEE802.00144fa81d96/dev/printers/HP
CN72F1N2HQ04SM:

ls -lah
/tmp/SUNWut/units/IEEE802.00144fa81d96/dev/printers/HPCN72F1N2HQ04SM
lrwxrwxrwx   1 root     root          45 Jan 26 14:01
/tmp/SUNWut/units/IEEE802.00144fa81d96/dev/printers/HPCN72F1N2HQ04SM
->
../../devices/u...@1/HP,deskjet_d1300_ser...@2

:ls -lah /tmp/SUNWut/units/IEEE802.00144fa81d96/devices/u...@1
total 16
drwxr-xr-x   2 root     root         199 Jan 26 14:01 .
drwxr-xr-x   3 root     root         244 Jan 26 13:54 ..
crw-------   1 utku148  root     231, 131072 Jan 26 14:01
HP,deskjet_d1300_ser...@2

>From kiosk mode xterm, I can see that the utku* user's home directory
contains a properly formatted .printers file:

:cat .printers
SR-Default 00144fa81d96
_all SR-Default

Problem:

I can run 'lp -d SR-Default /etc/motd' and see the job via lpstat -t
After a few seconds, I see an error message:
"Failed to open the printer port. (Permission denied)"

>From a uttsc kiosk session connecting to Windows Server 2003, I can
see
that the SR-Default print queue has been
passed to Windows. I can create a file with notepad.exe and print to
the
SR-Default printer. With lpstat -t, I can see the job arrive
at the Sun Ray server. After about 30 seconds, I see the same error
message as before.

Any suggestions, RTFM's, etc gratefully appreciated. I got this far
early this morning and have made not progress since and I'm out if
ideas, patience, etc.

Thanks!

Art Peck
[email protected]

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.filibeto.org/pipermail/sunray-users/attachments/20100126/8ad
cde08/attachment-0001.html>
------------------------------

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users


End of SunRay-Users Digest, Vol 72, Issue 32
********************************************


_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to