[comp.sys.ibm.pc.hardware] Help needed: Printing on LaserJet compat. printer in Paradox

dmarcher@acsu.buffalo.edu (david m archer) (12/28/90)

[First off, I'd like to apologize for the wide distribution of this message.
I've hopefully set the followup correctly to comp.periphs.printers, but I 
still ask that replys be sent by e-mail; if someone for some odd reason would
like a summary, just ask.]

I'm having a bit of a problem printing on a QMS-PS-410 laser printer.  It's 
a rather nice creation with AppleTalk, Serial, & Parallel ports on it, and it
does both PostScript & HP LaserJet emulation.  I'm attempting to print from
within Paradox (a db), on legal-sized paper in landscape orientation.  Paradox
lets me enter a line of escape codes to set things up, in fact, it even gives
me a listing of what codes I should be using to achieve what I want.  

Unfortunately, what seems to be happening is that it's not recognizing
the fact that I'm feeding it legal sized paper, and only prints on the last
11" of the paper as if it was letter sized paper.  It seems to me there's no
real way to define that I'm using legal sized paper, at least, not in HP
escape codes, so after flipping through the manual a couple times, I start 
getting the idea that I have to send it a bit of postscript code to tell it
that it's got legal sized paper.  I thought this was a bit on the odd side of
things, but calling QMS and talking to one of their tech people seems to 
verify that this is what you have to do.  That doesn't seem to work, I somewhat
suspect that the printer is reseting itself when I switch from postscript mode
back into HP Laserjet mode, but that's only a wild guess.   Something else that
I've been thinking about is, how does a person with a normal HP LaserJet type
printer (without postscript) print on legal sized paper, seeing as they can't
send strange postscript code to tell it that?  

It prints fine on legal sized paper when hooked up to a Mac, so I can't see why
shouldn't be able to do what I'm trying to make it do.  Anyone out there got
any ideas?  I'm sure I'll eventually figure this out, but I'd like to do it
without killing *too* many trees...




---
 Note: I do not represent my employer or school, & sometimes not even myself.

  Dave Archer  |  Internet: V116KZND@UBVMS.CC.BUFFALO.EDU      !
               |            dmarcher@acsu.buffalo.edu
               |    Bitnet: V116KZND@UBVMS
               |     GEnie: D.ARCHER
               |   Prodigy: Surely you jest!

swh@hpcupt1.cup.hp.com (Steve Harrold) (01/03/91)

Re: Printing legal-size paper on a LaserJet

In order for the LaserJet to print the complete area of a sheet of legal-size
paper (a US term), you have to send it an escape sequence describing the
attributes of the paper being fed into the machine.

Use this sequence in your setup strings:

    ESC & l # P        [escape, ampersand, ell, decimal numbers, uppercase P]

where the # is replaced by the number of lines to be printed per page.
OMIT THE SPACES; they are shown just for clarity.