Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have succeded to config my solaris 10 to print to winxp which connects
a Canon LBP1310 laserjet.
# In my Sun WS I installed samba and cups.
# IN my winxp I installed the GHOSTSCRIPT, GSviewer and Redmon to
making Canon LBP 1310 serving as a postscript. I took three hours to
finish this work. I can print in Sun WS by the CANON LBP 1310. But I
found that the lp command can not print a .txt file and can not print the
whole terminal screen.
because I wan to print my circuit schemtic, the method to get a whole
Screen shot is very important. can you give me some advices?
Thank you!
Yes, xwd is a choice and I have bind a PRINT key to implement a xwd shell.
however, I used a command in my previous university two years ago.
I can not remember the command clearly. Maybe hlp or something else.
if implementing the command in prompt , the mouse cursor changes.
If clicking a window use the mouse cursor, the window will be printed out.
I wonder how can implement the function. Because getting a jpeg by xwd will
decrease the quality of picture.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
xwd is using a lossless storage format, you certainly can convert it to a graphic format suitable for printing still lossless (not jpeg for that matter).
I have a idear for this printing. I wonder if it can be implemented.
<1Bind a xwd shell with the left-click mouse button.
The print xwd shell in my SunWS is as follows:
#!/bin/csh
xwd -root -out /ScreenShot.xwd
convert /ScreenShot.xwd /ScreenShot.gif
rm /ScreenShot.xwd
I bound the shell above with Print key. I wonder if I can bind the xwd shell into a
lift-click mouse button.
Note: add the following line into the xwd shell below:
/usr/bin/lp /ScrrenShot.gif
<2> make a mouse-print shell to activiate the bind-key function above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.