Ok, we've tracked this down further -- the forms which are having
trouble printing are using two subroutines my programmer's made (and
used successfully in lots of OS scenarios excepting Linux) which 1)
define a lot of printer control codes such as:
ESC = CHAR(27)
LANDS = ESC:"&l1O"
PORTR = ESC:"&l0O"
COURR = ESC:"(8U" ;* & LINE PRINTER
TMSRM = ESC:"(0U" ;* & HELV BOLD
XXXXM = ESC:"(10U" ;*UNK
HALFL = ESC:"="
FFPRM = ESC:"Z" ;** FORM FEED PROMPT
and 2) draw the boxes we were seeing, respectively. When I capture the
output stuck in the lp queue it turns out to be PCL, which we can turn
into a PDF with a converter, and which appears the same way as I was
able to get printout, i.e. boxes but not the accompanying text.
Alternatively, if I use enscript rather than lp in the driver, I can get
the text output with all the PCL codes inline.
I know wew're getting pretty site specific here but has anyone run into
this previously? How do you typically handle laserjet output where you
need some minimal graphics, is this customized set of printer codes
still sensible & I just need to figure out how to get the printer to
interpret them correctly & fire off the resulting output?
Any hints/tips/ideas gratefully received, and again, thanks to everyone
who's replied here, very much a help.
--
Peter Ivanick
Sr. Programmer/Analyst
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]
Phone: 215.573.2306 Fax: 215.573.8777
http://www.vet.upenn.edu/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/