SUMMARY : Paintjet Printcap details

From: Terry Jeffery International Product Support Group (TGJ@UKHOUO.Prime.COM)
Date: Mon Oct 12 1992 - 18:37:27 CDT


-- This has probably been answered sometime in the past but I am after the
-- printer setup for generating X windows dumps to a HP Paintjet XL connected
-- via RS-232 to a Sparc II. I would appreciate some info re :-

--
--        1) printcap entry
--
--        2) serial port settings such as what sort of handshaking (software
--        or hardware and baud rate.
--
The first reply gave me the answer for our set-up

From: Boyd Fletcher IV <boyd@cs.odu.edu> Boyd Fletcher boyd@cs.odu.edu

I have a printcap that works for ARIES software running on a SPARCstation1 serial port for printing graphics images only! The images are created by the ARIES HP PaintJetXL driver software, and are printed on an HP PaintjetXL.

DIP switch settings on the HP PaintJet XL were:

ddduudd where "d" is down and "u" is up

These DIP settings correspond to 9600 baud, even parity, XON/XOFF.

lp|pjet|Hewlett-Packard PaintjetXL printer:\ :lp=/dev/ttya:sd=/var/spool/pjet:\ :ms=pass8,-opost,-onlcr,ixon,ixoff:

Here are a couple of other replies, I'm so excited about the pretty pictures I have not had a chance to try them!! ====================== From: "Jon Mellott" <jon@alpha.ee.ufl.edu>

Here's our printcap for our PaintJet XL (you're probably just interested in the first one). We have separate queues for raw PCL PaintJet operation, and HPGL/2 (plotter) which requires the HPGL/2 cartridge.

# # # HP PaintJet XL with HP-GL/2 cartridge # paintjet|pj| HP PaintJet XL using PCL: \ :lp=/dev/ttya:br#19200: \ :sd=/var/spool/lpd/paintjet: \ :lf=/var/adm/lpd.paintjet: \ :mx#0: \ :sf:sh: \ :ms=litout: \ :if=/usr/local/lib/lpd/paintjet.if: # # # HP PaintJet XL with HP-GL/2 cartridge # hp7475|hp7550| HP PaintJet XL using HP-GL/2: \ :lp=/dev/ttya:br#19200: \ :sd=/var/spool/lpd/hp7475: \ :lf=/var/adm/lpd.hp7475: \ :mx#0: \ :sf:sh: \ :if=/usr/local/lib/lpd/hp7475.if:

Also, the filters referred to above are: ------------ paintjet.if: #! /bin/sh

# <ESC>E Reset printer to defaults

/usr/5bin/echo "\033E\c"

cat ------------------------------------------------ hp7475.if: #! /bin/sh

# OLD: /usr/5bin/echo '\033E\033&/6A\033%1BIN;WU0;PW0.01;\c' # <ESC>E Reset printer to defaults # <ESC>&/6A Page Size 11x17 inches # <ESC>%1B Huh? <ESC>%-1B or <ESC>%B --> printer enters HP-GL/2 mode # IN HP-GL/2: Initialize (then restore any front panel settings) # WU0 Huh? is default! HP-GL/2: Pen Width Unit Selection (metric) # PW0.01 HP-GL/2: Pen Width (0.01 mm)

# <ESC>E Reset printer to defaults # <ESC>&/6A Page Size 11x17 inches # <ESC>%B printer enters HP-GL/2 mode # IN HP-GL/2: Initialize (then restore any front panel settings) # PW0.01 HP-GL/2: Pen Width (0.01 mm)

/usr/5bin/echo "\033E\033&/6A\033%B;IN;PW0.01;"

cat

# PG Advance Page # <ESC>E Reset printer to defaults

/usr/5bin/echo ";PG;\033E\c" ===================== From: Mike_Wertzberger@imd.sterling.com (Mike Wertzberger)

I use a Freedom of press software to do all of my filters. You can use XDW and pbm plus do all of the translations there is a ppmtohp program to do the conversions ( check my spellings ) This is hooked to my parallel port on a 630 good luck # # HP PaintJet - Location 1404 # Carto # pnt2|hppj|pj2|HP PaintJe2t:\ :lp=/dev/stclp0:rw:sh:\ :sd=/usr/spool/lpd/pnt2:\ :lf=/var/spool/lpd/pnt2/pnt2-log:\ :af=/dev/null:\ :if=/usr/local/lib/sbii_mitre/paint_filter:\ :df=/usr/local/lib/sbii_mitre/paint_xwd_filter:\ :tf=/usr/local/lib/sbii_mitre/paint_xwd_rv_filter:\ :ms=cs8,-parenb,-parodd,-cstopb,-clocal,cread,- istrip,ixon,ixoff,ixany,opost,hupcl,-crtscts,-ignbrk,-brkint,-parmrk,-inpck,- ignpar,-inlcr,-igncr,-icrnl,-iuclc,-imaxbel,-isig,-iexten,-icanon,-xcase,- echo,-echoe,echok,-echonl,-noflsh,-tostop,-echoctl # Thanks to all the above for their cooperation and help.

Regards



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:51 CDT