[comp.sys.acorn] WANTED: RiscOS printer driver for CANON LBP-4 laser.

dpr@pr1me.prime.dk (Dannie P. Rothmann) (06/03/91)

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 : <ESC something> Number-of-bytes Hexbytes
                           (Hexbytes are one pixel wide and eighe high)       

      I need               : <ESC something> 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.

ddevorchik@acorn.co.uk (David "dizzy" De Vorchik) (06/05/91)

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 : <ESC something> Number-of-bytes Hexbytes
>                           (Hexbytes are one pixel wide and eighe high)       
>
>      I need               : <ESC something> 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",<number of copies>,"X"

    <anything defined in the system variable PDriver$LJextra>

    27,"*t",<resolution>,"R"
    27,"*p",<vertical skip>,"y",<horizonal skip>,"X"
    27,"*r1A"

  Line start:

    27,"*b",<number of bytes in line>,"W",<data>

  Page end:

    27,"*rB"
    12
    27,"&a0C",27,"E"

  Key for non-obvious strings:
     
    <resolution>        - horizontal resolution value (returned from PDriver_Info)
    <vertical skip>     - defined in 1/300"
    <horizontal skip>   - 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!

maumg@warwick.ac.uk (Pop Mobility Freak) (06/05/91)

In article <1282@pr1me.prime.dk> dpr@pr1me.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.
>
Try the Computer Concepts direct drive Laser Direct printer drivers. I believe
there is a version for those printers. It uses a podule and drives the printer
directly and so is very fast. Also all fonts are rendered correctly unlike on
PostScript printers.

TTFN,
        PMF