Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!acorn!ddevorchik From: ddevorchik@acorn.co.uk (David "dizzy" De Vorchik) Newsgroups: comp.sys.acorn Subject: Re: WANTED: RiscOS printer driver for CANON LBP-4 laser. Message-ID: <7423@acorn.co.uk> Date: 5 Jun 91 11:01:40 GMT References: <1282@pr1me.prime.dk> Sender: dvorchik@acorn.co.uk Distribution: comp Organization: Acorn Computers Ltd, Cambridge, England Lines: 71 In article <1282@pr1me.prime.dk> dpr@pr1me.prime.dk (Dannie P. Rothmann) writes: > >Help, does anyone know where i can get (or buy) a RiscOS >printer-driver for a Canon LBP-4 (LBP-8) laser printer. > >Another solution would be a printer-driver where the format >of the actual print data output: > > !PrinterDM generates : Number-of-bytes Hexbytes > (Hexbytes are one pixel wide and eighe high) > > I need : Image-size Bytes/Line Hexbytes > (Hexbytes are eight pixels wide and one high) > > > Please, post reply to this group, if you have knowledge > of any program / sourcecode that might be useful. > > Thanks, Dannie. Dannie, Try the !PrinterLJ driver this will output data as one byte for eight consecutive pixels. Although the most significant bit (bit 7) of the first byte of data corresponds to the first pixel within the line. You will need to process the data before sending it to the device as the command sequences sent by the LaserJet driver are bound into the code and cannot be changed by altering the PrData file (as with !PrinterDM). Here is a list of the sequences used by the driver: Page start: 27,"E",27,"&l",,"X" 27,"*t",,"R" 27,"*p",,"y",,"X" 27,"*r1A" Line start: 27,"*b",,"W", Page end: 27,"*rB" 12 27,"&a0C",27,"E" Key for non-obvious strings: - horizontal resolution value (returned from PDriver_Info) - defined in 1/300" - defined in 1/300" Hope this helps. --David -- David De Vorchik EMail: dvorchik@acorn.co.uk RISC OS Development Team Phone: (+44) 223 214411 Acorn Computers Ltd Fax: (+44) 223 214382 CAMBRIDGE England. Harold and Joe... Go... Go... Go!