comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: printing to postscript with PV_WAVE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: printing to postscript with PV_WAVE [message #883 is a reply to message #858] Fri, 02 April 1993 10:54 Go to previous messageGo to previous message
dieh2133 is currently offline  dieh2133
Messages: 11
Registered: December 1992
Junior Member
I am not sure whether all implementations of X have xpr and xwd (utilities to
dump and print X-windows.) but if You have it You might try something like
the following procedure which I use to dump a window on my hp9k345 to my hp-paintjet.
If You change the options for xpr and lp that should work for any printer.

; TUB, Rolf Diehl; Tue Dec 17 21:20:39 MEZ 1991

pro xwd,nu

;dump window to the paintjet
;
;nu number or the WAVE window
;------------------------------------------
windowname=''
case n_params() of
0:begin
print,'Enter name of window to dump? '
read,windowname
end
1: windowname='WAVE '+strtrim(string(nu),2)
endcase

spawn,"xwd -name '"+windowname+"' | xpr -device pjet | lp -dpaint -oraw -onb "
end

--
Mit freundlichen Gruessen
Rolf Diehl.

____________________________________________________________ _________
|Dipl.-Ing. Rolf Diehl, TU Berlin, Institut fuer technische Akustik |
|Tel 030-314-22889, Fax -23222, dieh2133@files1zrz.zrz.tu-berlin.de |
|___________________________________________________________ ________|
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IMSL/IDL encapsulated postscript; DVIPS translation
Next Topic: IDL widget_label questions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 07:43:56 PDT 2025

Total time taken to generate the page: 0.71997 seconds