Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 14:28:52 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Chip Camden <sterling@camdensoftware.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: printing outside browser cuts off top and bottom of page
Message-ID:  <alpine.BSF.2.00.1008251423580.32243@wonkity.com>
In-Reply-To: <20100825155343.GQ2236@libertas.local.camdensoftware.com>
References:  <20100824204552.GA70395@guilt.hydra> <alpine.BSF.2.00.1008241546350.96400@wonkity.com> <20100824225829.GA70716@guilt.hydra> <alpine.BSF.2.00.1008241805300.96896@wonkity.com> <20100825002801.GJ2236@libertas.local.camdensoftware.com> <alpine.BSF.2.00.1008242100120.97487@wonkity.com> <20100825033334.GK2236@libertas.local.camdensoftware.com> <20100825064113.GC71916@guilt.hydra> <alpine.BSF.2.00.1008250727130.31086@wonkity.com> <20100825151856.GA74267@guilt.hydra> <20100825155343.GQ2236@libertas.local.camdensoftware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Aug 2010, Chip Camden wrote:

> Quoth Chad Perrin on Wednesday, 25 August 2010:
>> On Wed, Aug 25, 2010 at 07:57:29AM -0600, Warren Block wrote:
>>>
>>> For another test, use pdf2ps and feed the PS output directly to the
>>> printer, bypassing CUPS.  If the LJ4050N Ethernet is connected (and it
>>> really should be), you can use nc something like this (untested):
>>>
>>>   # pdf2ps test.pdf - | nc lj4050hostname 9100
>>>
>>> If that has cut off margins, it's a setting within the printer.
>>> If it prints fine, it's CUPS.
>>
>> That test worked out beautifully.  Apparently, it is a problem with CUPS
>> settings.
>
> It didn't work at all for my OfficeJet.  Apparently that printer doesn't
> know PostScript, because all I got was a bunch of garbage with some
> PostScript commands mixed in.

Very few inkjets understand PS.  But ghostscript may have a built-in 
driver for it which can be used like the ps2pcl filter in my lpd 
article.  Maybe you'll find some of the rest of it useful:

http://www.wonkity.com/~wblock/docs/html/lpdprinting.html#_adding_a_filter

There are also the hplip and hpijs ports.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1008251423580.32243>