|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
lpr and duplex printing
So I have a Brother laser, which digests PS output from apps pretty well. This is good.
Sometimes I have a multiple page PDF to print, though, and LibreOffice -current wants to make those into drawings and do stupid things to the margins, individually, on every single page. lpr will print the file, but the OpenBSD lpr doesn't seem to have an -o (options) switch, let alone -o sides=two-sided-long-edge. How do people deal with this? |
|
||||
Don't have a duplex printer myself, so I can't test. There's a trick mentioned on misc@ where you have to add
Code:
%! <</Duplex true>>setpagedevice Some web hints suggest just putting the second line inbetween the page setup lines: Code:
%%BeginPageSetup << /Duplex true >> setpagedevice %%EndPageSetup PS: A test file grabbed from the web: Code:
%! << /Duplex true >> setpagedevice /Courier 72 selectfont 72 648 moveto (PAGE 1) show showpage 72 648 moveto (PAGE 2) show showpage |
|
|||
Quote:
|
|
|||
On a Brother HL-5450DN, I setup foomatic-rip as a filter.
http://daemonforums.org/showthread.php?t=8710 Then added print queues for duplex letter and #10 envelopes. My /usr/local/libexec/br_filter_duplex Code:
#!/bin/sh /usr/local/bin/foomatic-rip -P Brother-HL-5450DN \ -ppd /etc/foomatic/direct/Brother-HL-5450DN-BR-Script3.ppd \ -o PageSize=Letter -o DuplexNoTumble |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LPD printing | Oko | Guides | 28 | 10th May 2020 12:01 AM |
Printing | beavers | OpenBSD General | 3 | 11th July 2018 01:10 AM |
How to set1000base with full-duplex ? | sharris | FreeBSD General | 5 | 30th May 2011 10:00 AM |
Problem with printing | unicyclist | OpenBSD General | 8 | 1st May 2009 07:06 PM |
gem Collisions, duplex mismatch? | tad1214 | FreeBSD General | 1 | 8th July 2008 02:32 AM |