[comp.unix.questions] /etc/printcap entry for HP7575A drafting plotter

fayette@halibut.nosc.mil (Daniel F. Fayette) (09/19/90)

Hi!  I'm looking for a printcap entry for a Hewlett-Packard
7575A large format drafting plotter.  Anybody got anything?

How about an anonymous ftp printcap/termcap library?

E-mail or post will do.

Thanks.

asbuilt@sjrpp.UUCP (SJRPP CAD Drafting Staff) (09/20/90)

In article <2859@nosc.NOSC.MIL> fayette@halibut.nosc.mil (Daniel F. Fayette) writes)
>Hi!  I'm looking for a printcap entry for a Hewlett-Packard
>7575A large format drafting plotter.  Anybody got anything?
>
>How about an anonymous ftp printcap/termcap library?
>
>E-mail or post will do.
>
>Thanks.


Our printcap entries for HP plotters goes like this:
(just the plotter stuff)
-------------------------------------------------------------------------
#   hp 7550a table plotter
#   Plotter is set-up factory default except for xon/xoff handshake
#   which is set from /usr/local/lib/hp/hp7550a script
#   (see device set-up in Freelance instructions page A-20)
hp7550a|HP|hplot|hp 7550a plotter:\
	:lp=/dev/ttyh2:\
	:sd=/usr/spool/baytech:\
	:lf=/usr/adm/lpd-errs:\
	:rm=sjrpp:\
	:rp=hp7550a:\
	:mx#0:\
	:br#9600:\
	:sh:\
	:ms=-parity,-cstopb,-ignpar,ixon,ixoff,-echo:\
	:of=/usr/local/lib/hp/hp7550a:
#   Calcomp plotter
calcomp|1043gt|calcomp 1043 GT plotter:\
	:lp=/dev/ttyh1:\
	:sd=/usr/spool/calcomp:\
	:lf=/usr/adm/lpd-errs:\
	:rm=sjrpp:\
	:rp=calcomp:\
	:br#9600:\
	:mx#0:\
	:sh:\
	:sf:\
	:ms=cs7,parenb,-parodd,-ignpar,ixon,ixoff,-echo:
#   parallel port Raster Graphics Printer
rg|mcp|paralell|mcp paralell port:\
	:lp=/dev/mcpp0:\
	:sd=/usr/spool/mcp:\
	:lf=/usr/adm/lpd-errs:\
	:rm=sjrpp:\
	:rp=rg:\
	:mx#0:\
	:sh:\
	:sf:\
	:ms=cs7,parenb,-parodd,-ignpar,ixon,ixoff:
------------------------------------------------------------------
cat -v look at /usr/local/lib/hp/hp7550a:
#!/bin/csh -f
#
# hp7550a
#
#
# This is the output filter form use with HP laserjets I and II.
# It is called via the of entry in the generic_hp printcap entry
# All it does is send the escape sequence to the printer, so that:
#
/usr/bin/echo -n '$PRINTER2^[.P1'
/usr/bin/cat
/usr/bin/echo -n '^[.R'
if ($status == 0) then
	exit 0
else
	exit 1
endif
---------------------------------------------------------------

What I'm doing here for the hp7550a is setting it to even parity
(with "/usr/bin/echo -n '$PRINTER2^[.P1'" - $PRINTER2 is the second port
on the Baytech printer controller). The ":ms=-parity,-cstopb,-ignpar,ixon,ixoff,-echo:\"
stuff in printcap may need changing for the 7575a. The part of "ms" that's
important is "-echo" as without it you'll get "Buffer Overflow" errors
and random pen "skews" on your drawings.
Hope this helps.

Eddie Turner SJRPP

-- 
CADD Drafting Staff     UUCP:...gatech!uflorida!unf7!sjrpp!asbuilt
St. Johns River Power Park -------- Technical Services Deptartment
Jacksonville, FL 32226                         PHONE:(904)751-7835