Re: [SGD-Users] Printing from unix app to windows client
Looks as if the jobs are stuck in CUPS and haven't made it to SGD; that's why they don't show up in tarantella print list. Anything relevant in /opt/tarantella/var/log, or in the CUPS logs (probably somewhere like /var/log/cups)? It might be worth upping the CUPS LogLevel (in /etc/cups/cupsd.conf) and restarting the CUPS daemon to see if that produces any more useful info. -FB On 6 Mar 2008, at 11:50, Andreas Höschler wrote: Hi all, I am trying to setup sgd printing for a Solaris 10 server running sgd 4.20.977 and a windows xp client running the native windows client. The Windows XP machine has a default printer. I can print to trhat using the Editor application. On the Solaris server I installed cups and made sgd cups aware as follows: /opt/tarantella/bin/scripts/prtinstall.en.sh --cups yes -- gsbindir /usr/local/bin ... You have created a Secure Global Desktop CUPS printer. Ensure you have enabled CUPS raw printing by editing /etc/cups/mime.convs and / etc/cups/mime.types. These files contain comments explaining how to do this (search for 'raw'). I modified /etc/cups/mime.convs and /etc/cups/mime.types as follows: pico /etc/cups/mime.convs application/octet-streamapplication/vnd.cups-raw 0 - pico /etc/cups/mime.types application/octet-stream I then did lp Test.ps in a sgd session (native client on windows -- sgd server on Solaris). lpstat -p printer tta_printer is idle. enabled since Jan 01 00:00 lpq tta_printer is ready and printing RankOwner Job File(s) Total Size active ahoesch 1 (stdin) 102400 bytes 1st ahoesch 2 (stdin) 102400 bytes Looks good so far but nothing is printed on the default printer of the windows machine. /opt/tarantella/bin/tarantella print list roehrs-sf280.smartsoft.de: No print jobs currently spooled. /opt/tarantella/bin/tarantella print status roehrs-sf280.smartsoft.de: - Printing services available - Jobs spooled: 0 Total jobs spooled: 0 lpq still shows me the two prit jobs. Shouldn't I see the print job with tarantella print status as well? What am I missing? Thanks a lot! Regards, Andreas ___ SGD-Users mailing list SGD-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/sgd-users ___ SGD-Users mailing list SGD-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/sgd-users
Re: [SGD-Users] Printing from unix app to windows client
Hi FB, Looks as if the jobs are stuck in CUPS and haven't made it to SGD; that's why they don't show up in tarantella print list. Anything relevant in /opt/tarantella/var/log, tail -f /opt/tarantella/var/log Nothing! I believe one has to enable logging first in sgd, but I have no idea how. tail -f /opt/sfw/cups/var/log/cups/ Nothing! :-( or in the CUPS logs (probably somewhere like /var/log/cups)? It might be worth upping the CUPS LogLevel (in /etc/cups/cupsd.conf) LogLevel debug and restarting the CUPS daemon to see if that produces any more useful info. Unfortunately not! I still get nothing in /opt/sfw/cups/var/log/cups/! :-( svcs -a | grep print disabled 15:42:55 svc:/application/print/ipp-listener:default disabled 15:42:55 svc:/application/print/rfc1179:default disabled 15:42:56 svc:/application/print/server:default online Feb_13 svc:/application/cde-printinfo:default online 14:30:46 svc:/application/print/cleanup:default ps -Af | grep cups root 22589 29309 0 14:33:38 pts/7 0:00 grep cups root 21679 20793 0 14:28:22 ? 0:00 lpd://roehrs-SF280.smartsoft.de/tta_printer 3 ahoesch (stdin) 1 /opt/sfw/cups/ root 20793 1512 0 14:24:11 ? 0:00 /opt/sfw/cups/sbin/cupsd Any idea? By the way, I am running all this in a zone! Is that a problem? Thanks, Andreas ___ SGD-Users mailing list SGD-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/sgd-users
Re: [SGD-Users] Printing from unix app to windows client
Hi all, Looks as if the jobs are stuck in CUPS and haven't made it to SGD; that's why they don't show up in tarantella print list. Anything relevant in /opt/tarantella/var/log, or in the CUPS logs (probably somewhere like /var/log/cups)? It might be worth upping the CUPS LogLevel (in /etc/cups/cupsd.conf) and restarting the CUPS daemon to see if that produces any more useful info. I just found the following: lpstat -l -p printer tta_printer now printing tta_printer-3. enabled since Jan 01 00:00 Network host 'powerstar.smartsoft.de' is busy, down, or unreachable; will retry in 30 seconds... Form mounted: Content types: any Printer types: unknown Description: tta_printer Alerts: none Location: Connection: direct On fault: no alert After fault: continue Users allowed: (all) Forms allowed: (none) Banner required Charset sets: (none) Default pitch: Default page size: Default port settings: It seems that the tta_printer queue is trying to reach sgd services via the external interface. May be the firewall is blocing traffic. Which port is used for the communication between cups and the sgd service? May be it helps if I open that in the firewall. Better how could I make this guy us ethe internal interface? Both the applciation and the sgd are runnning on the same machine anyway. Thanks, Andreas ___ SGD-Users mailing list SGD-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/sgd-users