Re: printing outside browser cuts off top and bottom of page

2010-08-26 Thread Chad Perrin
On Thu, Aug 26, 2010 at 01:31:06AM -0500, Robert Bonomi wrote: > > What are the chances that that those 'problem' PDFs are designed for a > slightly _different_ paper size, and CUPS is -nto- 'scaling' to fit the > actual paper size? When printing via a method that bypasses CUPS (using netcat), it

Re: printing outside browser cuts off top and bottom of page

2010-08-26 Thread Chad Perrin
On Wed, Aug 25, 2010 at 02:42:18PM -0600, Warren Block wrote: > On Wed, 25 Aug 2010, Chad Perrin wrote: > > >I was not entirely sure before today whether the 4050N could handle > >straight PostScript instead of PCL, but the test I performed using nc to > >see if it would print properly involved us

Re: printing outside browser cuts off top and bottom of page

2010-08-25 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Tue Aug 24 16:31:11 2010 > Date: Tue, 24 Aug 2010 14:31:29 -0700 > From: Chip Camden > To: FreeBSD Questions > Subject: Re: printing outside browser cuts off top and bottom of page > > > --ZYOWEO2dMm2Af3e3 > Content-Type: t

Re: printing outside browser cuts off top and bottom of page

2010-08-25 Thread Warren Block
On Wed, 25 Aug 2010, Chad Perrin wrote: I was not entirely sure before today whether the 4050N could handle straight PostScript instead of PCL, but the test I performed using nc to see if it would print properly involved using pdf2ps and no other file format transformations, so it seems PS is fi

Re: printing outside browser cuts off top and bottom of page

2010-08-25 Thread Warren Block
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 real

Re: printing outside browser cuts off top and bottom of page

2010-08-25 Thread Polytropon
On Wed, 25 Aug 2010 09:27:20 -0600, Chad Perrin wrote: > Is there much I'd need to know about apsfilter to use it with lpd? No, just make sure to compile it with options PAGE=A4 PAPERSIZE=a4 A4=yes in /etc/make.conf if you need ISO A4 support. It is basically dialog-dri

Re: printing outside browser cuts off top and bottom of page

2010-08-25 Thread Chip Camden
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 us

Re: printing outside browser cuts off top and bottom of page

2010-08-25 Thread Chad Perrin
On Wed, Aug 25, 2010 at 11:38:52AM +0200, Polytropon wrote: > > If your printer can do PS, you don't need CUPS; lpd does everything. > > If you just need to convert printing output (which traditionally *is* > PS) to PCL, you might be interested in using apsfilter. It's a lot > more lightweight th

Re: printing outside browser cuts off top and bottom of page

2010-08-25 Thread Chad Perrin
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.

Re: printing outside browser cuts off top and bottom of page

2010-08-25 Thread Warren Block
On Wed, 25 Aug 2010, Chad Perrin wrote: On Tue, Aug 24, 2010 at 08:33:34PM -0700, Chip Camden wrote: Quoth Warren Block on Tuesday, 24 August 2010: It appears that PPDs are stored in the reasonably-named /usr/local/etc/cups/ppd. There's a PPD for the LJ4050 in print/foomatic-db... And it ha

Re: printing outside browser cuts off top and bottom of page

2010-08-25 Thread Polytropon
On Tue, 24 Aug 2010 18:12:40 -0600 (MDT), Warren Block wrote: > On Tue, 24 Aug 2010, Chad Perrin wrote: > > > On Tue, Aug 24, 2010 at 03:49:24PM -0600, Warren Block wrote: > >> > >> The LJ4050 is a great printer, but it doesn't print PDFs natively. > >> > >> So you need to find what CUPS is usin

Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chad Perrin
On Tue, Aug 24, 2010 at 08:33:34PM -0700, Chip Camden wrote: > Quoth Warren Block on Tuesday, 24 August 2010: > > > > It appears that PPDs are stored in the reasonably-named > > /usr/local/etc/cups/ppd. There's a PPD for the LJ4050 in > > print/foomatic-db... > > > > And it has > > *Imageabl

Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chad Perrin
On Tue, Aug 24, 2010 at 06:12:40PM -0600, Warren Block wrote: > On Tue, 24 Aug 2010, Chad Perrin wrote: > > > >CUPS is a black box to me, filled with black magic. > > Me too. That's why I use lpd. I'm considering it, at least for this laptop. Still, it would be nice to know how to fix this prob

Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chip Camden
Quoth Warren Block on Tuesday, 24 August 2010: > On Tue, 24 Aug 2010, Chip Camden wrote: > >Quoth Warren Block on Tuesday, 24 August 2010: > >>As Chip Camden noted, it could be a problem with the printable area not > >>being correct. CUPS should get that information from a PPD file--I > >>think.

Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Warren Block
On Tue, 24 Aug 2010, Chip Camden wrote: Quoth Warren Block on Tuesday, 24 August 2010: As Chip Camden noted, it could be a problem with the printable area not being correct. CUPS should get that information from a PPD file--I think. Do you have the correct PPD installed...er...wherever it shou

Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chip Camden
Quoth Warren Block on Tuesday, 24 August 2010: > On Tue, 24 Aug 2010, Chad Perrin wrote: > > >On Tue, Aug 24, 2010 at 03:49:24PM -0600, Warren Block wrote: > >> > >>The LJ4050 is a great printer, but it doesn't print PDFs natively. > >> > >>So you need to find what CUPS is using to convert PDFs to

Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Warren Block
On Tue, 24 Aug 2010, Chad Perrin wrote: On Tue, Aug 24, 2010 at 03:49:24PM -0600, Warren Block wrote: The LJ4050 is a great printer, but it doesn't print PDFs natively. So you need to find what CUPS is using to convert PDFs to PostScript and adjust that. It may be an A4 to letter conversion,

Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chad Perrin
On Tue, Aug 24, 2010 at 03:49:24PM -0600, Warren Block wrote: > > The LJ4050 is a great printer, but it doesn't print PDFs natively. > > So you need to find what CUPS is using to convert PDFs to PostScript and > adjust that. It may be an A4 to letter conversion, or it's trying to > "intelligen

Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Warren Block
On Tue, 24 Aug 2010, Chad Perrin wrote: I'm using CUPS on FreeBSD 8.0, and any time I try to print from outside Firefox the top and bottom of a PDF gets cut off. I don't have any means installed for printing a PDF from inside Firefox, but Webpages and the CUPS test page print just fine from wit

Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chip Camden
Quoth Chad Perrin on Tuesday, 24 August 2010: > On Tue, Aug 24, 2010 at 02:04:32PM -0700, Chip Camden wrote: > > > > I'm not seeing that here, but I don't have a PDF that prints data in the > > margins. If you have one, can you email it to me? > > I don't think it prints to the margins, per se.

Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chad Perrin
On Tue, Aug 24, 2010 at 02:04:32PM -0700, Chip Camden wrote: > > I'm not seeing that here, but I don't have a PDF that prints data in the > margins. If you have one, can you email it to me? I don't think it prints to the margins, per se. I also know that it's not particular to the printer, sinc

Re: printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chip Camden
Quoth Chad Perrin on Tuesday, 24 August 2010: > I'm using CUPS on FreeBSD 8.0, and any time I try to print from outside > Firefox the top and bottom of a PDF gets cut off. I don't have any means > installed for printing a PDF from inside Firefox, but Webpages and the > CUPS test page print just fi

printing outside browser cuts off top and bottom of page

2010-08-24 Thread Chad Perrin
I'm using CUPS on FreeBSD 8.0, and any time I try to print from outside Firefox the top and bottom of a PDF gets cut off. I don't have any means installed for printing a PDF from inside Firefox, but Webpages and the CUPS test page print just fine from within the browser. For instance: /usr/l