[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Optra E312 printers (was Re: Setting up a postscript printer)



On Sun, Dec 10, 2000 at 09:02:32PM -0800, Carl Johnson wrote:
> 
> I recently installed the same type of printer and had no problems, but
> I didn't use CUPS.  I just have the basic lpr and magicfilter packages
> installed, and just told magicfilterconfig that I had a 600dpi laser
> printer.  It certainly looks and sounds as though your printer is
> being recognized and that data is being sent to it.  The printer is
> supposed to auto-select between PS and PCL, so that shouldn't be a
> problem.  It really sounds like CUPS isn't doing what you expect it to
> do, but I don't use it so I can't help there.

I have the same printer and ran into problems using the ps600 filter
when trying to print from my wife's Win98 box using samba.  The filter
won't allow PJL printing although the E312 supports this (and the
Windows driver wants to use this instead of straight PostScript).  I
added the right syntax for PJL and PCL from the HP Laserjet filters and
it now works perfectly.  Here is a patch which others may find helpful:

--- ps600-filter	Mon May  1 13:37:50 2000
+++ e312-filter	Mon Dec 11 08:08:21 2000
@@ -59,14 +59,14 @@
 0	\x89PNG		pipe	/usr/bin/pngtopnm 
 
 # HP Printer Control Language (PCL) -- assume start with reset code
-0	\033E\033	reject	Cannot print PCL files on this printer. 
+0       \033E\033       cat
 
 # HP Printer Job Language (PJL)
-0	\033%-12345X	reject	Cannot print PJL files on this printer. 
-0	"@PJL "		reject	Cannot print PJL files on this printer. 
-0	@PJL\t		reject	Cannot print PJL files on this printer. 
-0	@PJL\r		reject	Cannot print PJL files on this printer. 
-0	@PJL\n		reject	Cannot print PJL files on this printer. 
+0	\033%-12345X	cat
+0	"@PJL "		cat
+0	@PJL\t		cat
+0	@PJL\r		cat
+0	@PJL\n		cat
 
 # GIF files
 0	GIF87a		pipe	/usr/bin/giftopnm  2>/dev/null

-- 
Bob Nielsen, N7XY                          nielsen@oz.net
Bainbridge Island, WA                      http://www.oz.net/~nielsen
 



Reply to: