Date: Thu, 7 May 2020 11:46:45 +0200 From: Polytropon <freebsd@edvax.de> To: Victor Sudakov <vas@sibptus.ru> Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-ID: <20200507114645.be1159f3.freebsd@edvax.de> In-Reply-To: <20200507051003.GB6626@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> <20200507051003.GB6626@admin.sibptus.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 May 2020 12:10:03 +0700, Victor Sudakov wrote: > Polytropon wrote: > > do exist. Here is the printer filter, /opt/libexec/ps2pcl-dup.sh: > > > > #!/bin/sh > > /usr/bin/printf "\033&k2G" || exit 2 > > /usr/local/bin/gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER \ > > -sDEVICE=ljet4d -sPAPERSIZE=a4 -r600x600 \ > > -dDuplex=true \ > > -sOutputFile=- - && exit 0 > > exit 2 > > Is -dDuplex=true supposed to enable double-sided printing? Yes, without it the printer will only feed single pages and print single-sided. In the printer menu (here: Laserjet 4000 operator panel), duplex capability needs to be selected "ON", because this seems to override the "duplex request" from the computer. Maybe you can check duplex in the web configuration interface of the printer? If I remember correctly, -dDuplex=true will generate the correct portions of PCL to have the printer use the duplexer. It's hard to check what "commands" actually arrive in the PCL sent to the printer. :-( > Does not > work for me somehow, though this printer is capable thereof (does print > on both sides from Android/Mopria). So it seems to be configured in the correct way already... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200507114645.be1159f3.freebsd>