Xref: utzoo comp.sys.amiga.programmer:4708 comp.sys.amiga.misc:4740 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsh!cbnewse!hjanssen From: hjanssen@cbnewse.att.com (hank janssen) Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.misc Subject: HP Laserjet III from a Amiga. How to control. Keywords: hp, control Message-ID: <1991Jun19.212436.14899@cbnewse.att.com> Date: 19 Jun 91 21:24:36 GMT Followup-To: comp.sys.amiga.programmer Organization: AT&T Bell Laboratories Lines: 43 I have asked this question before, but our posting of news got hoosed so i am asking it again...... ---------- I have a Laserjet III, and i wanted to write a programm that prints stuff to it from intuition. (Yes i know that they are out there, but none of it does what i want it to do) I want to controll the printer by bypassing the printer.device from amiga and directly go to PRT: I have opened PRT with both Open and fopen. Sent some escape sequences just like the manual says is takes. And see it do _nothing_ Example a string like this. (THis is only an example) [5j Will result on the prinout as: 5j It eats up my ESCAPE character and my [ character. while it should interped as something changing from landscap to portait. changing point size etc etc. Whatever escape sequence i sent the prnter it just prints it out minus the escape character. I have tried by sending the real escape Sequence character its octal and decimal value, but to no avail. Is there something i am doing basicly wrong. The ROM manual staes that when you open PRT: directly all is sent to the printer RAW. Does anybody have any idea that they like to share.???? Thanx, Hank Janssen, att!ihlpb!hjanssen