davef@lakesys.UUCP (Dave Fenske) (07/27/89)
I got hit with a question last night that I don't know the answer to. It seems that this man has an HP Laserjet attached to a Compaq which is running Xenix. He doesn't want banner pages, so he edited "lpd" and set banners=0. He claims that he still gets a blank page (no banners, but a page nonetheless) before the first page of each print job. He runs 2.3.1. Any bugs or similar problems?
terry@tah386.manhattan.ks.us (Terry Hull) (07/28/89)
In article <897@lakesys.UUCP> davef@lakesys.UUCP (Dave Fenske) writes: >I got hit with a question last night that I don't know the answer to. It seems >that this man has an HP Laserjet attached to a Compaq which is running Xenix. > >He doesn't want banner pages, so he edited "lpd" and set banners=0. He claims >that he still gets a blank page (no banners, but a page nonetheless) before >the first page of each print job. He runs 2.3.1. Check the interface script. My guess is he is either sending a form feed to the printer, or he is doing a printer reset with an ESC E. Sending an Escape E to the printer will not only reset it, but will also cause the printer to form feed a blank page. -- Terry Hull Department of Electrical and Computer Engineering, Kansas State University Work: terry@eecea.eece.ksu.edu, rutgers!ksuvax1!eecea!terry Play: terry@tah386.manhattan.ks.us, rutgers!ksuvax1!eecea!tah386!terry
davidsen@sungod.crd.ge.com (William Davidsen) (07/29/89)
In article <549@tah386.manhattan.ks.us> terry@tah386.manhattan.ks.us (Terry Hull) writes: | Check the interface script. My guess is he is either sending a | form feed to the printer, or he is doing a printer reset with | an ESC E. Sending an Escape E to the printer will not only reset | it, but will also cause the printer to form feed a blank page. You have half of that right... the error is almost certainly caused by emiting a formfeed *instead* of a reset. The reset (ESC-E) will force the current page to be printed if there is anything to print. Several reset's in a row will *not* output multiple pages. I just tried this on a LJ, LJ+, and LJ-II. I don't have access to a 500, but I would bet anything up to the price of a sixpack the code is the same. I have a correct LJ "interface" routine which does a number of things, including sending an init file to the printer for things like landscape mode, 1/2" left margin, 16 pitch/100 line mode, etc. I use a reset at the end and never get any blank pages between files. bill davidsen (davidsen@crdos1.crd.GE.COM) {uunet | philabs}!crdgw1!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me
noel@ubbs-nh.MV.COM (Noel B. Del More Nashua) (07/29/89)
In article <897@lakesys.UUCP> davef@lakesys.UUCP (Dave Fenske) writes: >I got hit with a question last night that I don't know the answer to. It seems >that this man has an HP Laserjet attached to a Compaq which is running Xenix. > >He doesn't want banner pages, so he edited "lpd" and set banners=0. He claims >that he still gets a blank page (no banners, but a page nonetheless) before >the first page of each print job. He runs 2.3.1. He needs to edit the printer interface script that he defined (on mine I named it hplaser). It causes a form feed to be sent to the printer. Noel -- Noel B. Del More | decvax!ubbs-nh!noel 17 Meredith Drive | noel@ubbs-nh.mv.com Nashua, New Hampshire 03063 | It's unix me son! `taint spozed tah make cents
rick@pcrat.uucp (Rick Richardson) (07/30/89)
In article <549@tah386.manhattan.ks.us> terry@tah386.manhattan.ks.us (Terry Hull) writes: >Check the interface script. My guess is he is either sending a >form feed to the printer, or he is doing a printer reset with >an ESC E. Sending an Escape E to the printer will not only reset >it, but will also cause the printer to form feed a blank page. This isn't true. ESC E will formfeed if and only if there has been some output or movement on the page. Two ESC E's in a row do not do the same thing as two formfeeds. It is proper and prudent to begin and end each job with ESC E. Just make sure that nothing gets sent (not even a newline) between jobs. For example, if the end of a job code looks like this: echo "^L" and the beginning of the next job starts with ESC E, then you will get a blank page. This is because the echo will send a formfeed *and* a newline. The best way is to start and end each job is with the equivalent of: echo "\033E\c" -- Rick Richardson | JetRoff "di"-troff to LaserJet Postprocessor|uunet!pcrat!dry2 PC Research,Inc.| Mail: uunet!pcrat!jetroff; For anon uucp do:|for Dhrystone 2 uunet!pcrat!rick| uucp jetroff!~jetuucp/file_list ~nuucp/. |submission forms. jetroff Wk2200-0300,Sa,Su ACU {2400,PEP} 12013898963 "" \d\r\d ogin: jetuucp
chris@conexch.UUCP (Chris Bailey) (07/31/89)
files for the HP LaserJet Series II printer. I don't know if you have anything like Aprint.hp, or ASnormal.hp (I think the latter is associated with our ARtecon system, but the first is an input filter (as referenced by cf in printcap). We can't seem to get our's to work perfectly. We can get it somewhat, but more than about 1 page is hopeless. Also any suggestions on how to select fonts would be appreciated (we have a Z font cartridge). Our company doesn't have USENET or UUCP connections, I am doing this from my home PC, so please let me know how you want to exchange it. You can uucp it to this account and I can get it from there if that would be possible. Thanx a ton... Chris Bailey Van Dell and Associates, Inc. Irvine, CA
davidsen@sungod.crd.ge.com (William Davidsen) (08/01/89)
In article <381@ubbs-nh.MV.COM> noel@ubbs-nh.MV.COM (Noel B. Del More Nashua) writes: | He needs to edit the printer interface script that he defined (on mine I | named it hplaser). It causes a form feed to be sent to the printer. The problem is that two formfeeds will feed two forms. Two resets will feed at most one page, none if no data has been sent to the page. **************** I give! **************** I got about 30 requests for my LJ interface program. I'm sharing it with the font initializer files and driver program and posting it to comp.source.misc today. If I didn't get back to you your return address didn't like my mailer and I didn't have time to retype it by hand. bill davidsen (davidsen@crdos1.crd.GE.COM) {uunet | philabs}!crdgw1!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me