home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- 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
- From: rypma@waterloo.hp.com (Ted Rypma)
- Subject: Re: DeskJet 500C and HP-UX
- Sender: news@waterloo.hp.com (NetNews)
- Message-ID: <C0IMJt.93L@waterloo.hp.com>
- Date: Fri, 8 Jan 1993 03:19:05 GMT
- References: <TT.92Dec29212346@sulla.jyu.fi>
- Organization: HP Panacom Div Waterloo ON Canada
- X-Newsreader: TIN [version 1.1.4 PL6]
- Lines: 35
-
- Tapani Tarvainen (tt@sulla.jyu.fi) wrote:
- : Has anybody used the DeskJet 500C with hp-ux -- comments?
- : Is there an easy way to print X-windows with it?
- : In particular, will any xpr -device option work (with colors) --
-
- I regularly print from HP-UX to my spooled DJ500C. If I want to print graphics,
- including color, I convert everthing to postscript (xv has a really nice
- interface to do this - read the manual) and then filter through ghostscript
- using either a black ink or color ink script.
-
- Following are my 2 scripts to output to printer 'trdj':
-
- b&w:
-
- if [ $# -eq 0 ]
- then
- gs -dQUIET -dNOPAUSE -sDEVICE=djet500 -r300 -sOUTPUTFILE='|lp -dtrdj -oraw' -
- else
- gs -dQUIET -dNOPAUSE -sDEVICE=djet500 -r300 -sOUTPUTFILE='|lp -dtrdj -oraw' $@ quit.ps
- fi
-
- color:
-
- if [ $# -eq 0 ]
- then
- gs -dQUIET -dNOPAUSE -sDEVICE=cdeskjet -r300 -sOUTPUTFILE='|lp -dtrdj -oraw' -
- else
- gs -dQUIET -dNOPAUSE -sDEVICE=cdeskjet -r300 -sOUTPUTFILE='|lp -dtrdj -oraw' $@ quit.ps
- fi
-
- Regards,
-
- Ted Rypma
- HP Panacom Division
- Waterloo, Ontario
-