LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Print from a winxp shared printer on Solaris9.0 (http://www.linuxquestions.org/questions/solaris-opensolaris-20/print-from-a-winxp-shared-printer-on-solaris9-0-a-291474/)

UltraSoul 02-17-2005 01:09 PM

Print from a winxp shared printer on Solaris9.0
 
I have installed samba on my solaris9.0 and the shared directory also can be seen in my another winxp computer to which the shared printer connects. But I don't know how to configure the printing from my sun pc to
the xinxp shared printer by using samba. Or there are somelse solutions to this problem. Please give me some advices. thank you!

Also I want to use the print screen key to print the whole screen in my sun workstation and save it as a GIF image file, Then I think I can transfer this image file into another winxp PC for printing. But now I don't know how to
make GIF image file in Solaris9.0. Is there a image paint tool with solaris9.0 like the paint tool in windows OS.

jlliagre 02-18-2005 03:45 AM

Look at cups for printer settings

For the whole display screenshot, try:
Code:

xwd -root -o /tmp/rootw.xwd
convert /tmprootw.xwd /tmp/rootw.gif

Binding that to the printscreen key is probably more complicated and certainly dependant on the graphic environment you are using.

UltraSoul 02-18-2005 10:28 AM

CUPS printer
 
I installed cups by using Solaris Sparc companion software CD.
The cups is installed at the directory of "/opt/sfw/cups".
There is no cupsd service in the /etc/inetd.conf.
Does it mean that the cups serives is unvailable in my sun workstation.
How to add the service to inetd daemon?

PC enviroment:
Samba is installed at my sun blade 2500(hostname:S198).
The shared printer named Canon is conectted to another winxp PC(hostname:S196).
I have confirmed that they can see each other by using samba.

Problem:
The winxp PC of S196 can ping S198. But S198 can not ping S196 or its IP address.
I wonder what is the reason for this problem?
The sun workstation of S198 can see S196 by using samba. Why S198 can not ping the IP address of S196
although I have added the IP mapping for S196 in /etc/hosts?

UltraSoul 02-18-2005 10:36 AM

Thank you!
 
Thank you! jilliagre

your code is very useful to me:
xwd -root -o /tmp/rootw.xwd
convert /tmprootw.xwd /tmp/rootw.gif

Thank you!

jlliagre 02-18-2005 11:30 AM

Thanks,

cups is not to be used with inetd but in standalone mode (launched by an rc script).

See http://www.sun.com/bigadmin/content/...tall_cups.html for tips.


All times are GMT -5. The time now is 01:28 PM.