LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 11-03-2005, 02:31 PM   #1
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
CUPS to Winxp for printing


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!
 
Old 11-03-2005, 04:28 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You can capture a screenshot with xwd and convert it to a format suitable for printing with convert (ImageMagick)
 
Old 11-03-2005, 11:19 PM   #3
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Original Poster
Rep: Reputation: 31
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.
 
Old 11-06-2005, 06:03 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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).
 
Old 11-07-2005, 07:10 AM   #5
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Original Poster
Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
Printing from Linux to WinXP (SAMBA & CUPS) Yoda_Oz Linux - Networking 0 02-03-2005 09:20 PM
Printing on Winxp Printer via cups gotmonkey Slackware 10 11-30-2004 01:38 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
samba + cups printing from winxp.. doublefailure Slackware 1 04-04-2003 12:18 AM


All times are GMT -5. The time now is 06:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration