home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14634 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.5 KB  |  48 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!cupnews0.cup.hp.com!hppad.waterloo.hp.com!rypma
  3. From: rypma@waterloo.hp.com (Ted Rypma)
  4. Subject: Re: DeskJet 500C and HP-UX
  5. Sender: news@waterloo.hp.com (NetNews)
  6. Message-ID: <C0IMJt.93L@waterloo.hp.com>
  7. Date: Fri, 8 Jan 1993 03:19:05 GMT
  8. References: <TT.92Dec29212346@sulla.jyu.fi>
  9. Organization: HP Panacom Div Waterloo ON Canada
  10. X-Newsreader: TIN [version 1.1.4 PL6]
  11. Lines: 35
  12.  
  13. Tapani Tarvainen (tt@sulla.jyu.fi) wrote:
  14. : Has anybody used the DeskJet 500C with hp-ux -- comments?
  15. : Is there an easy way to print X-windows with it?
  16. : In particular, will any xpr -device option work (with colors) --
  17.  
  18. I regularly print from HP-UX to my spooled DJ500C. If I want to print graphics,
  19. including color, I convert everthing to postscript (xv has a really nice
  20. interface to do this - read the manual) and then filter through ghostscript
  21. using either a black ink or color ink script.
  22.  
  23. Following are my 2 scripts to output to printer 'trdj':
  24.  
  25. b&w:
  26.  
  27. if [ $# -eq 0 ]
  28. then
  29.   gs -dQUIET -dNOPAUSE -sDEVICE=djet500 -r300 -sOUTPUTFILE='|lp -dtrdj -oraw' -
  30. else
  31.   gs -dQUIET -dNOPAUSE -sDEVICE=djet500 -r300 -sOUTPUTFILE='|lp -dtrdj -oraw' $@ quit.ps
  32. fi
  33.  
  34. color:
  35.  
  36. if [ $# -eq 0 ]
  37. then
  38.   gs -dQUIET -dNOPAUSE -sDEVICE=cdeskjet -r300 -sOUTPUTFILE='|lp -dtrdj -oraw' -
  39. else
  40.   gs -dQUIET -dNOPAUSE -sDEVICE=cdeskjet -r300 -sOUTPUTFILE='|lp -dtrdj -oraw' $@ quit.ps
  41. fi
  42.  
  43. Regards,
  44.  
  45. Ted Rypma
  46. HP Panacom Division
  47. Waterloo, Ontario
  48.