[cups.general] EPSON EJL Commands
Michael R Sweet
msweet at apple.com
Fri May 29 07:13:35 PDT 2009
Rodolphe Pinon wrote:
> Hi,
>
> I saw that the HP PJL commands are treated by CUPS but not EPSON EJL.
>
> All files sended by my EPSON laser printer C2600 are identified like octet/stream and not like POSTSCRIPT file.
>
> It's a driver problem or CUPS problem ?
Neither. The driver is producing what is needed for the printer, and
EPSON EJL is not a common job control language while HP PJL is what
Adobe adopted for binary PostScript support.
You can add the following to an /etc/cups/local.types file to get the
Windows print jobs passed through without filtering:
application/vnd.cups-raw string(0,<1B01>@EJL)
> Thanks for your help.
>
> ----- Epson test file ----
>
> ^[^A at EJL ^M
> ^[^A at EJL SJ ID="0"^M
> @EJL JI DOCUMENT=""^M
> @EJL JI DRIVER="EPSON AL-C2600 PS3"^M
> @EJL JI OS="Windows 2000/XP"^M
> @EJL JI CUSTOM="EPSON Acculaser C2600 - A4 -"^M
> @EJL JI PRIORITY="1"^M
> @EJL SE LA=PS^M
> @EJL EN LA=PS^M
> ^AM%!PS-Adobe-3.0^M
> %%Title: Bugs & Features - CUPS^M
> %%Creator: PScript5.dll Version 5.2.2^M
> %%CreationDate: 5/18/2009 15:26:30^M
> %%BoundingBox: (atend)^M
> %%Pages: (atend)^M
> %%Orientation: Portrait^M
> %%PageOrder: Special^M
>
> ---- HP test file ----
>
> ^[%-12345X at PJL JOB NAME="Bugs & Features - CUPS"
> @PJL SET STRINGCODESET=UTF8
> @PJL SET HOLD=OFF
> @PJL SET ECONOMODE=OFF
> @PJL SET RESOLUTION=600
> @PJL SET BITSPERPIXEL=4
> @PJL ENTER LANGUAGE=POSTSCRIPT
> %!PS-Adobe-3.0^M
> %%Title: Bugs & Features - CUPS^M
> %%Creator: PScript5.dll Version 5.2.2^M
> %%CreationDate: 5/18/2009 15:29:9^M
> %%BoundingBox: (atend)^M
> %%Pages: (atend)^M
> %%Orientation: Portrait^M
> %%PageOrder: Special^M
>
> ---- end of test ----
>
> cups 1.3.8 debian Lenny
> windows 2000 client, samba 3.3.4
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
--
______________________________________________________________________
Michael R Sweet Senior Printing System Engineer
More information about the cups
mailing list