How dump screens to color laserjet ?

How dump screens to color laserjet ?

Post by Bill Hasse » Mon, 04 Mar 1996 04:00:00



: Under HP-UX 9.05, I wish to make dump screen dumps and print them
: out in color on our HP color laserjet.
: I am using:
:   xwd -screen | xpr -device ps | lp -d ColorLaserJet
: and still getting BLACK 'n WHITE copies !
: I can only get color by changing the device above to 'pjetxl', for HP's
: Color Paint Jet XL.  The resolution is not that great, and I hoped I
: could get better using postscript.

: Any suggestions ?  Any options I am overlooking?

  xpr is a very old program and has not been enhanced for several years,
  apparently because it is part of the MIT distribution.  The pjetxl refers
  to a late 1980's PaintJet printer (not the PJ-XL/300) which had only 180
  dpi resolution and limited color capability.  It has no code for PostScript
  Level 2 which is need for color.  For HP color printers such as the Color
  LaserJet, the DeskJet 1200 and 1600, the PaintJet XL-300 and other PCL
  color printers, use the following incantation:

  XPATH=/usr/local/bin/X11
  $XPATH/xwd -frame | XPATH/xwd2sb | pcltrans  -I -g1.9 -h10 -d8 | lp -oraw

  Be sure to use -oraw since the data stream will be binary.  Check the man
  page on pcltrans for the large number of options available to control the
  final image. This is a good string for a script that pauses for 3-5 secs
  to allow raising the window to be printed.

--

           __?__
          /     \
         / ^   ^ \
        ( (o) (o) )
         \       /
*=oOOO======(_)=====OOOo====*=====================================*
|   Bill Hassell            |  Hewlett-Packard Response Center    |

*=============Oooo.=========*=====================================*
      .oooO   (   )
       (   )    ) /   "There are two types of computer users in the
        \ (    (_/     world...those that have lost data, and those
         \_)           that are going to."        (blh, circa 1972)

 
 
 

How dump screens to color laserjet ?

Post by Svante Dackem » Tue, 05 Mar 1996 04:00:00



>Under HP-UX 9.05, I wish to make dump screen dumps and print them
>out in color on our HP color laserjet.
>I am using:
>  xwd -screen | xpr -device ps | lp -d ColorLaserJet
>and still getting BLACK 'n WHITE copies !
>I can only get color by changing the device above to 'pjetxl', for HP's
>Color Paint Jet XL.  The resolution is not that great, and I hoped I
>could get better using postscript.
>Any suggestions ?  Any options I am overlooking?
>does UX do this better ?
>Thanks in advance


How about "xgrab,xgrabsc" located at "any" HP-archive?
Liverpool is at hpux.csc.liv.ac.uk, but I'm sure you got sites
at a closer distance....

From the man page:

 NAME
      xgrab - interactive front for xgrabsc, an X-Windows image grabber

 SYNOPSIS
      xgrab

 DESCRIPTION
      xgrab lets you grab arbitrary rectangular images from an X server and
      writes them to files or commands (such as lpr) in a variety of
      formats.

      xgrab is a front for the xgrabsc program.  Read the man page for
      xgrabsc for a description of the options presented by xgrab.  The
      xgrabsc program has more options than are presented through the xgrab
      interface.  In particular, xgrab does not allow you to grab areas of
      the screen by specifying numeric coordinates, or grab subareas of a
      window through offset coordinates.

      After selecting options from the various categories presented, press
      the OK button to have xgrab run xgrabsc to let you grab an image from
      the screen.  After you press OK, xgrab's window will disappear and
      xgrabsc will gain control until the grabbing process is finished.
      Afterwards, the xgrab window will reappear.

--

Svante Dackemyr, SAAB Service Partner AB, S-581 88 LINKOPING, Sweden

========== OBS New phone # =============== #include <std_disclaimer.h>

 
 
 

1. color laserjet 4500 color page count from HP-UX

Does anyone know how to get _color_ page count of a 4500 Color LaserJet
from within HP-UX?

my PJL Technical Reference predates color laserjets and gives no
clue about color pages.
I can get the count by printing test page, but that doesn't help
much because I need to get it after each job - I'm upgrading
a print accounting script to distinguish color pages.
I'd think there must be a PJL command for the purpose, but what
it might be I can't figure out.

If someone could even confirm there's an updated PJL Tech Ref
that contains the info I'd be happy enough to order one
(HP part # would be very much appreciated).

Thanks in advance,

--
Tapani Tarvainen

2. 8.8.5 breaks large address list into "chunks" ?

3. Problems with printer HP Color Laserjet 5

4. Strange Happening

5. LexMark Optra Color laserjet printer driver for HPUX 10.20

6. hp 680 lines

7. HP Color Laserjet 5m Great Deal!!!!

8. 3COM TA ISDN HUNTING FOR NT RAS

9. XPR for colour laserjet?

10. Q: Print Postscript to a NOT PS enhanced HP Color LaserJet 5 Printer?

11. HP-UX Screen Colors

12. HP-UX 10.2 Color Screen Print

13. Xwindow screen -> color postscript file