pdewacht / brlaser

Brother laser printer driver
GNU General Public License v2.0
576 stars 109 forks source link

HL-L2312D true 1200dpi mode #154

Open matejcik opened 2 years ago

matejcik commented 2 years ago

I'm having trouble printing anything in 1200dpi on HL-L2312D printer. 600dpi printing works somewhat fine (unless printing from Firefox which is always messed up)

I'm using the L2300D series driver, which offers the 1200HQ resolution. However, comparing the printer output from Windows, the resolution setting looks different.

Here is the full Windows PJL header:

@PJL SET REPRINT=OFF
@PJL SET HOLD=OFF
@PJL SET USERNAME="matejcik"
@PJL SET JOBNAME="PlaybooksAndMoves_Quickstart_RootTTRPG_012920.pdf"
@PJL JOB NAME="PlaybooksAndMoves_Quickstart_RootTTRPG_012920.pdf"
@PJL PRINTLOG ITEM = 1,PRINTER
@PJL PRINTLOG ITEM = 2,Fri,25 Feb 2022 10:41:17
@PJL PRINTLOG ITEM = 3,matejcik
@PJL PRINTLOG ITEM = 4,GLACIER
@PJL SET JOBTIME = "20220225104117"
@PJL SET STRINGCODESET=ISO88592
@PJL SET ECONOMODE=OFF
@PJL SET MEDIATYPECHECK=ON
@PJL SET MEDIATYPE=REGULAR
@PJL SET LESSPAPERCURL=OFF
@PJL SET FIXINTENSITYUP=OFF
@PJL SET TRANSFERLEVELUP=ON
@PJL SET TRANSFERLEVEL=0
@PJL SET PAPERFEEDSPEED=FULL
@PJL SET RESOLUTION=TR1200
@PJL SET HQMMODE=OFF
@PJL SET OUTBIN=AUTO
@PJL ENTER LANGUAGE=PCL

The RESOLUTION is set to TR1200, presumably "true 1200" ?

This is unlike brlaser output which does a weird thing with

 @PJL SET RAS1200MODE = TRUE
 @PJL SET RESOLUTION = 600

I don't understand brlaser too well just yet, so I'm wondering, is this supposed to happen with "1200HQ" resolution? Or would I need to implement support for "TR1200" explicitly?

Also the print file from Windows is twice as small (6.7 MB vs 14.5 MB from brlaser), but I haven't looked into that yet.

amitesh-singh commented 2 years ago

Hello, did you figure it out? Is it possible to print 1200dpi using brlaser?

Nelnamara commented 2 years ago

Same here - Been using on Raspberry pi server for 2 years with no issue until recently.

amitesh-singh commented 2 years ago

I made my printer work by installing the official brother driver on RPI. Hope it helps.