I am looking for some tips on setting up my printer. It is an brother MFC-L2710DW printer. It comes with support for "PCL6, BR-Script3, PDF Version 1.7" and "LPR/LPD, Custom Raw Port/Port9100" [1].
I have a really hard time getting it to work. According to this post [2] for a similar printer [3] and this post [4] setup should be easy and the printer should accept text and ghostscript. I would think it should accept PDF too since it has support for PDF 1.7. I am wondering about what I am doing wrong. Any tips would me much appreciated!
LDP
I have followed the handbook on the LDP setup [5] but had no luck on printing the test lines
In my /etc/printcap I had both:
Testing
I have tested it with
Both commands result in no prints.
When the printer is turned off 'lpc status all' shows
and when the printer turned is turned on 'lpc status all' shows
Direct printing
I also tried direct printing
nc 192.168.1.107 9100 < doc.txt | the display indicates the printer is receiving but then nothing happens
nc 192.168.1.107 9100 < doc.pdf | some blank pages rolled out the printer
nc 192.168.1.107 9100 < doc.ps | the display indicates the printer is receiving but then nothing happens
I have used a PDF created with Google Docs and created the ps file using pdf2ps.
References
[1] https://support.brother.com/g/b/spec.aspx?c=gb&lang=en&prod=mfcl2710dw_us_eu_as
[2] https://lists.freebsd.org/pipermail/freebsd-questions/2014-May/258008.html
[3] https://support.brother.com/g/b/spec.aspx?c=gb&lang=en&prod=hl3070cw_all
[4] https://forums.freebsd.org/threads/printing-in-freebsd.71954/post-437439
[5] https://www.freebsd.org/doc/handbook/printing-lpd.html#printing-lpd-filters
I have a really hard time getting it to work. According to this post [2] for a similar printer [3] and this post [4] setup should be easy and the printer should accept text and ghostscript. I would think it should accept PDF too since it has support for PDF 1.7. I am wondering about what I am doing wrong. Any tips would me much appreciated!
LDP
I have followed the handbook on the LDP setup [5] but had no luck on printing the test lines
In my /etc/printcap I had both:
Code:
lp:\
:lp=:rm=192.168.1.107:rp=raw:\
:sh:\
:sd=/var/spool/lpd/lp:\
:lf=/var/log/lpd-errs:
Code:
lp:\
:lp=9100@192.168.1.107:\
:sh:\
:sd=/var/spool/lpd/lp:\
:lf=/var/log/lpd-errs:
Testing
I have tested it with
printf "1. This printer can print.\n2. This is the second line.\n" | lpr
printf "%%\!PS \n /Helvetica findfont 18 scalefont setfont 72 432 moveto (PostScript printing successful.) show showpage \004" | lpr
Both commands result in no prints.
When the printer is turned off 'lpc status all' shows
lp:
queuing is enabled
printing is enabled
2 entries in spool area
sending to 192.168.1.107
and when the printer turned is turned on 'lpc status all' shows
lp:
queuing is enabled
printing is enabled
no entries in spool area
printer idle
Direct printing
I also tried direct printing
nc 192.168.1.107 9100 < doc.txt | the display indicates the printer is receiving but then nothing happens
nc 192.168.1.107 9100 < doc.pdf | some blank pages rolled out the printer
nc 192.168.1.107 9100 < doc.ps | the display indicates the printer is receiving but then nothing happens
I have used a PDF created with Google Docs and created the ps file using pdf2ps.
References
[1] https://support.brother.com/g/b/spec.aspx?c=gb&lang=en&prod=mfcl2710dw_us_eu_as
[2] https://lists.freebsd.org/pipermail/freebsd-questions/2014-May/258008.html
[3] https://support.brother.com/g/b/spec.aspx?c=gb&lang=en&prod=hl3070cw_all
[4] https://forums.freebsd.org/threads/printing-in-freebsd.71954/post-437439
[5] https://www.freebsd.org/doc/handbook/printing-lpd.html#printing-lpd-filters