Re: Printing to legal paper (urgent help needed)

2000-12-16 Thread Dave Thayer
On Sat, Dec 16, 2000 at 09:55:33AM -0500, Arcady Genkin wrote:
> Chris Gray <[EMAIL PROTECTED]> writes:
> 
> > ag>   psnup -plegal -Pletter -10 report.ps /tmp/rep10.ps
> > 
> > First of all, have you tried it without the -Pletter in there?
> 
> Yes, I put it in there later in hope that it would make a difference.
> 
> > There's not too much output from "apropos paper" -- you might look
> > through there.  Paperconfig looks especially promising.
> 
> Yep, good call!  Changing /etc/papersize from letter to legal was all
> it took.  Funny that the man page for lpr (or man pages for PS
> utilities) doesn't mention paper configuration.  Also, it seems
> strange that there seems to be no way to override the setting with a
> command-line parameter.  All I needed was to print two legal-sized
> pages, and then go back to letter-sized...

According to man pages paperconf(1) and papersize(5), programs using
the libpaper library will use the PAPERCONF environment variable in
preference to /etc/papersize. This can save you from becoming root just
to change /etc/papersize.

your pal dave

-- 
Dave Thayer
Denver, Colorado USA
[EMAIL PROTECTED]



Re: Printing to legal paper (urgent help needed)

2000-12-16 Thread Arcady Genkin
Chris Gray <[EMAIL PROTECTED]> writes:

> ag>   psnup -plegal -Pletter -10 report.ps /tmp/rep10.ps
> 
> First of all, have you tried it without the -Pletter in there?

Yes, I put it in there later in hope that it would make a difference.

> There's not too much output from "apropos paper" -- you might look
> through there.  Paperconfig looks especially promising.

Yep, good call!  Changing /etc/papersize from letter to legal was all
it took.  Funny that the man page for lpr (or man pages for PS
utilities) doesn't mention paper configuration.  Also, it seems
strange that there seems to be no way to override the setting with a
command-line parameter.  All I needed was to print two legal-sized
pages, and then go back to letter-sized...

In any case, thanks for your reply!
-- 
Arcady Genkin
Don't read everything you believe.



Re: Printing to legal paper (urgent help needed)

2000-12-12 Thread Chris Gray
> Arcady Genkin writes:

ag> Hello:
ag> I *really* need to print a document to a legal-size paper.  I
ag> formatted a document using psnup to fit 10 pages on one side:

ag>   psnup -plegal -Pletter -10 report.ps /tmp/rep10.ps

First of all, have you tried it without the -Pletter in there?

ag> and when I open it with gv, I can see all ten pages, but only if I
ag> choose `legal' from the drop-down list of paper sizes (which shows as
ag> BBox otherwise).  When sent to the printer (regardless if I do it from
ag> `gv' or with plain `lpr'), I only get eight of the pages printed (and
ag> the space for the two other pages is left unoccupied).  I.e. the page
ag> is printed as if on a letter-sized paper.

ag> My understanding is that lpr does not understand that the document is
ag> formatted for legal paper.  I have HP DeskJet 697 for a printer and I
ag> use it with magicfilter, modified to use hpdj driver.

ag> I'm lacking clue as to how to remedy or debug the problem; would
ag> anyone please help?

There's not too much output from "apropos paper" -- you might look
through there.  Paperconfig looks especially promising.

-- 
Chris



Printing to legal paper (urgent help needed)

2000-12-11 Thread Arcady Genkin
Hello:

I *really* need to print a document to a legal-size paper.  I
formatted a document using psnup to fit 10 pages on one side:

  psnup -plegal -Pletter -10 report.ps /tmp/rep10.ps

and when I open it with gv, I can see all ten pages, but only if I
choose `legal' from the drop-down list of paper sizes (which shows as
BBox otherwise).  When sent to the printer (regardless if I do it from
`gv' or with plain `lpr'), I only get eight of the pages printed (and
the space for the two other pages is left unoccupied).  I.e. the page
is printed as if on a letter-sized paper.

My understanding is that lpr does not understand that the document is
formatted for legal paper.  I have HP DeskJet 697 for a printer and I
use it with magicfilter, modified to use hpdj driver.

I'm lacking clue as to how to remedy or debug the problem; would
anyone please help?

Many thanks,
-- 
Arcady Genkin
Don't read everything you believe.