🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #135

Re: PostScript -> Cannon lbp4 ???

#135
From: Allaoua Bouabdallah
Date: Tue, 03 Nov 1992 20:42
193 lines
8274 bytes

	As you know i posted the same question last week. Here is
	the responses i get from the net.  THANKS  to all of you.

	I had some news since last week. Canon France tell me that 
	the lpb4 and the lbp8 II are compatible and use the same 
	language (CaPsl)(That mean the same escapes code).

	So gs ... -DEVICE=lbp8 should work with a printcap like this:

	lp|lpb4|CANON LBP4 laser printer:\
          :lp=/dev/ttya:sp=/usr/spool/lpd:lf=/dev/console:sh:1:\
	  :ms=cs8,-onlcr:

	I am waiting for the programmers manual of this printer and
	if necessary i shall rewrite a driver for this lp.

	By the way,  you spoke about a postscript card which cost ~$500 ?!
	Where ? I found oonly one at $1200.

-Alawa
================== RESPONSES FROM THE NET ==============================
> >From diabas.tuwien.ac.at!sw  Fri Oct 30 04:56:21 1992 remote from corton
> Date: Thu, 29 Oct 92 07:41:45 +0100
> From: Wolfgang STEGER <sw@diabas.tuwien.ac.at>
> To: alawa@gna.axis-design.FR (Allaoua Bouabdallah)
> Subject: Re: Need help with GohstsScript & Laser Printer (Cannon LBP 4)
> 
> 
> I don't know anything about Canon Lasers, but there's a very important point to 
> look for:
> Make sure that the file is printed 'raw'. Most UNIX printer filters etc. do 
> LF -> CRLF translations and tab expansions. This will most likely corrupt the
> raster image ghostscript creates.
> 
> |> 
> |> 	Thanks for any help.
> |> 
> |> -Alawa
> |> 
> |> PS : the file i tried to print is only a man page but the foo.lbp is 700k.
> |> 
> 
> True: ghostscript sends EVERYTHING as a raster image. This can be as large as
> >1 MB if the printer doesn't understand raster compression (e.g. a Canon BJ10e
> or an origial HP Laserjet).
> Raster compression (like newer HP Laser- and Deskjets do) can reduce this amount
> drastically. E.g.:
> 
> gs -sDEVICE=laserjet -sOUTPUTFILE=golfer.jj examples/golfer.ps
> gives this print file:
> 
> -rw-r--r--   1 sw       E203      835647 Oct 29 07:40 golfer.lj
> 
> gs -sDEVICE=ljet3 -sOUTPUTFILE=golfer.lj3 examples/golfer.ps
> gives this print file:
> 
> -rw-r--r--   1 sw       E203      121888 Oct 29 07:35 golfer.lj3
> 
> 
> -- 
> 				Wolfgang Steger 
> 				Inst. f. Geologie / Techn. Univ. Wien
> 				sw@diabas.tuwien.ac.at
> 
> ==================================================================
> 
> >From disnet!arjen  Fri Oct 30 04:56:24 1992 remote from corton
> Date: Thu, 29 Oct 92 14:07:01 +0100
> From: arjen@disnet.uucp (Arjen Duursma)
> To: alawa@gna.axis-design.FR
> Subject: Re: Need help with GohstsScript & Laser Printer (Cannon LBP 4)
> Newsgroups: gnu.ghostscript.bug
> References: <ALAWA.92Oct28184401@gna.axis-design.fr>
> 
> In gnu.ghostscript.bug you write:
> 
> 
> >	Sorry if am i in the wrong newsgroup.
> 
> >	I have a sun3/80 and a Canon LBP4 (a non postscript laser printer 
> >	using the "CaPsl3" language).
> Say what?
> 
> 
> >	What's the problem ? 
> >	LBP4 and LBP8 are very differents ?
> Thats for you to find out. The GhostScript driver for the lbp8 uses a
> very small subset of the possible commands. Something like:
> - reset
> - goto xy
> - printer raster graphics.
> Check the commands sent (CSI something) against your reference manual.
> >	Gs don't work the way i think ?
> What you describe that you where doing looks good. Can the program find
> the fonts and are miscelaneus (thats incorrect I know)  options
> correctly given (DISK_FONTS? etc)
> You didn't describe how you printed the resulting output file.
> Some unix printer filters
> require an option like graphics or raw to print binary data.
> Check the GS output file against the printer codes mentioned
> before to see whether the correct driver was used ("od -c foo.lbp") .
> 
> >	Does anyone know a way to print "pretty" (not just ascii)  things
> >	whith this configuration ?
> GhostScript is the way to do it, or buy HP or PostScript compatible cartridges.
> 
> >	Thanks for any help.
> 
> >-Alawa
> 
> >PS : the file i tried to print is only a man page but the foo.lbp is 700k.
> GhostScript turns is into one big graphics image......
> 
> To create small file, use: gs <options> -- gslp.ps foo.txt
> where foo is a file with only one word. (hello world)
> =============================================================
> 
> >From agate.berkeley.edu!usenet  Fri Oct 30 05:26:13 1992 remote from corton
> Date: Thu, 29 Oct 92 19:57:01 -0800
> To: alawa@gna.axis-design.fr (Allaoua Bouabdallah)
> Subject: Automatic Echo of Test Posting
> From: usenet@agate.berkeley.edu (Usenet Administration)
> Precedence: junk
> 
> This is an automatic echo of your posting to *.test.
> 
> Your header as received by this site follows.
> 
> If you don't want to get this message, please put the words "No Reply", 
> or "Ignore" in the header of your posting.
> 
>         NNTP service with a :-)
> 
> rob robertson                agate!usenet             usenet@agate.berkeley.edu
> -------------------------------------------------------------------------------
> 
> From: gaissmai@xwini.rz.uni-ulm.de (Karl Gaissmaier)
> Newsgroups: gnu.ghostscript.bug
> Subject: Re: Need help with GohstsScript & Laser Printer (Cannon LBP 4)
> Date: 30 Oct 92 10:50:11 GMT
> Distribution: gnu
> Organization: Universitaet Ulm
> 
> ....
> please post the /etc/printcap , it's possible that you don't use raw
> for your output device with post-processing like CR-->CRLF etc
> and this makes garbage.
> 
> (BTW: i had the same problem with HP's and solved this with this hint,
>  thanks to the net-people's)
> 
> Charly
> =========================================================================
> Karl Gaissmaier                      gaissmai@rz.uni-ulm.de
> Rechenzentrum Uni Ulm               
> Albert Einstein Allee 11             Telefon: (Germany) 0731/5022499
> W-7900 Ulm / Germany                 Telefax: (Germany) 0731/5022471
> =========================================================================
> 
> 
> >From perm.geologie.uni-freiburg.de!dominik  Fri Oct 30 04:56:19 1992 remote from corton
> Date: Thu, 29 Oct 92 07:19:19 +0100
> From: dominik@perm.geologie.uni-freiburg.de (Dominik Ulmer )
> To: alawa@gna.axis-design.fr
> Subject: Re: Need help with GohstsScript & Laser Printer (Cannon LBP 4)
> Newsgroups: comp.fonts
> References: <ALAWA.92Oct28184736@gna.axis-design.fr>
> 
> ....
> 
> If the page description language is the same for both Canon printer models,
> the lp-system set up could be the reason for your problems.
> 
> Check whether your lp-system does NOT expect ascii text. I'm not sure how
> it works on a SUN, but often times the printer model description (a small
> shell script) resides in /usr/spool/lp/model. There should be a model named
> "dumb" or "generic" or so, which indicates a generic line printer. Edit
> the shell script and check whether there is flag called "RAW" or "BINARY"
> and set it to true (=1). Also, you have to switch off the "BANNER" flag if
> there is one.  Now, install a printer of model "dumb" (check the lp-admin
> command) and then try to print the Ghostscript output to this printer.
> 
> Hope that helps,
> 
>   Dominik
> -- 
> Dominik Ulmer, Geologisches Institut, Albertstr.23-B
> D-7800 Freiburg i.Br., FRG
> Phone +49 761 203-2408   Fax +49 761 203-2463
> e-mail: dominik@perm.geologie.uni-freiburg.de
> ===============================================================
Technical Details
Message-ID: <ALAWA.92Nov3214248@gna.axis-design.fr>
Path: arc1-ca.pugleaf.net!sparky!uunet!walter!bellcore!rutgers!sun-barr!decwrl!sdd.hp.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mcsun!corton!gna!gna!alawa
References: <1992Oct27.234538.4437@ms.uky.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!walter!bellcore!rutgers!sun-barr!decwrl!sdd.hp.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mcsun!corton!gna!gna!alawa
From: alawa@gna.axis-design.fr (Allaoua Bouabdallah)
Newsgroups: comp.lang.postscript,comp.periphs.printers,gnu.ghostscript.bugs,comp.fonts
Subject: Re: PostScript -> Cannon lbp4 ???
Message-ID: <ALAWA.92Nov3214248@gna.axis-design.fr>
Date: 3 Nov 92 20:42:48 GMT
References: <1992Oct27.234538.4437@ms.uky.edu>
Sender: alawa@gna.axis-design.fr (Allaoua Bouabdallah)
Organization: GNA c/o Axis Design 119 rue de Flandre, 75019 Paris, France
Lines: 193
In-Reply-To: kilroy@ms.uky.edu's message of 28 Oct 92 04: 45:38 GMT