Networking Forums

Networking Forums > Computer Networking > Linux Networking > cups with A4 wants Letter printing

Reply
Thread Tools Display Modes

cups with A4 wants Letter printing

 
 
Olaf Petzold
Guest
Posts: n/a

 
      08-19-2006, 03:14 PM
Hi,

I'm using a HP LaserJet 5N printer with A4 mediums. I configured on
debian (testing) cups to use A4. If I do my print jobs, der laser
printer says I should use the letter tray - even I configured cups to
use A4. Some wrong switches? I'm using cupsys 1.2.2-1.

Thanks
Olaf



 
Reply With Quote
 
 
 
 
Unruh
Guest
Posts: n/a

 
      08-20-2006, 01:39 AM
Olaf Petzold <(E-Mail Removed)> writes:

>Hi,


>I'm using a HP LaserJet 5N printer with A4 mediums. I configured on
>debian (testing) cups to use A4. If I do my print jobs, der laser
>printer says I should use the letter tray - even I configured cups to
>use A4. Some wrong switches? I'm using cupsys 1.2.2-1.


It is not cups. It is the files you are trying to print. They are probably
letter postscript files. While you setup cups to use A4 as the default, it
will listen to the file,and usually just send it on to the postscript
printer. YOur printer then asks for letter when the postscript file says
"print me on letter".
Having said that you can configure cups to fit the page to the paper,
rather than trying to print directly. (or maybe you can configure your
printer to do it as well)
Under printerdrake on Mandriva it is "Print to nearest size and scale"
option.

You have an 5N printer lpd printer. This means that what cups does more or
less is to just ship off the file to the printer.


>Thanks
>Olaf




 
Reply With Quote
 
Olaf Petzold
Guest
Posts: n/a

 
      08-21-2006, 02:35 PM
Unruh schrieb:
> Olaf Petzold <(E-Mail Removed)> writes:
>
>> Hi,

>
>> I'm using a HP LaserJet 5N printer with A4 mediums. I configured on
>> debian (testing) cups to use A4. If I do my print jobs, der laser
>> printer says I should use the letter tray - even I configured cups to
>> use A4. Some wrong switches? I'm using cupsys 1.2.2-1.

>
> It is not cups. It is the files you are trying to print. They are probably
> letter postscript files. While you setup cups to use A4 as the default, it
> will listen to the file,and usually just send it on to the postscript
> printer. YOur printer then asks for letter when the postscript file says
> "print me on letter".
> Having said that you can configure cups to fit the page to the paper,
> rather than trying to print directly. (or maybe you can configure your
> printer to do it as well)
> Under printerdrake on Mandriva it is "Print to nearest size and scale"
> option.
>
> You have an 5N printer lpd printer. This means that what cups does more or
> less is to just ship off the file to the printer.


$ pdfinfo hybridmagnet.pdf |grep Page
Pages: 7
Page size: 595.276 x 841.89 pts (A4)

for example, pdfinfo says it's A4. This file was created with Latex and
a4paper document option. The printer says to load the letter tray ...

The reason must be at cups imo.

Thanks
Olaf
 
Reply With Quote
 
Olaf Petzold
Guest
Posts: n/a

 
      08-21-2006, 02:54 PM
OK, more infos about my printer/cups:

$ lp -d HPLJ5N /usr/share/cups/data/testprint.ps

success.

$ lpoptions -p HPLJ5N -l

got:
PageSize/Media Size: Letter Legal Executive Tabloid A3 *A4 A5 B5
EnvISOB5 Env10 EnvC5 EnvDL EnvMonarch
PageRegion/PageRegion: Letter Legal Executive Tabloid A3 A4 A5 B5
EnvISOB5 Env10 EnvC5 EnvDL EnvMonarch
InputSlot/Media Source: *Default Tray1 Tray2 Tray3 Tray4 Manual Envelope
Resolution/Output Resolution: 150dpi 300dpi *600dpi
Duplex/Double-Sided Printing: None *DuplexNoTumble DuplexTumble
Option1/Duplexer: *True False

$ egrep '(DefaultPageS|DefaultPageR|DefaultImageableAre|De faultPaperD)'
/etc/cups/ppd/HPLJ5N.ppd

got:
*DefaultPageSize: A4
*DefaultPageRegion: A4
*DefaultImageableArea: A4
*DefaultPaperDimension: A4
 
Reply With Quote
 
Philipp Pagel
Guest
Posts: n/a

 
      08-23-2006, 09:55 AM
In comp.os.linux.networking Olaf Petzold <(E-Mail Removed)> wrote:
> Unruh schrieb:
> > Olaf Petzold <(E-Mail Removed)> writes:
> >> I'm using a HP LaserJet 5N printer with A4 mediums. I configured on
> >> debian (testing) cups to use A4. If I do my print jobs, der laser
> >> printer says I should use the letter tray - even I configured cups to
> >> use A4. Some wrong switches? I'm using cupsys 1.2.2-1.


> $ pdfinfo hybridmagnet.pdf |grep Page
> Pages: 7
> Page size: 595.276 x 841.89 pts (A4)


> for example, pdfinfo says it's A4. This file was created with Latex and
> a4paper document option. The printer says to load the letter tray ...


Are you printing from Acrobat Reader 7.x by any chance? The 7.x versions
have a bug causing them to allways default to letter size and refuse to
remember your paper size selelction after terminating.

If this is causing your problem, your options are to set the paper size
in acrobat reader each time you start the program or print the PDFs or
not use it for printing.

cu
Philipp

--
Dr. Philipp Pagel Tel. +49-8161-71 2131
Dept. of Genome Oriented Bioinformatics Fax. +49-8161-71 2186
Technical University of Munich
http://mips.gsf.de/staff/pagel
 
Reply With Quote
 
Philipp Pagel
Guest
Posts: n/a

 
      08-23-2006, 10:08 AM
In comp.os.linux.misc Philipp Pagel <(E-Mail Removed)> wrote:
> If this is causing your problem, your options are to set the paper size
> in acrobat reader each time you start the program or print the PDFs or
> not use it for printing.


The last garbled sentence was meant to be

"If this is causing your problem, your options are to set the paper size
in acrobat reader each time you start the program or not use it for
printing."

sorry
Philipp

--
Dr. Philipp Pagel Tel. +49-8161-71 2131
Dept. of Genome Oriented Bioinformatics Fax. +49-8161-71 2186
Technical University of Munich
http://mips.gsf.de/staff/pagel
 
Reply With Quote
 
Olaf Petzold
Guest
Posts: n/a

 
      08-23-2006, 06:07 PM
Philipp Pagel schrieb:
> In comp.os.linux.networking Olaf Petzold <(E-Mail Removed)> wrote:
>> Unruh schrieb:
>>> Olaf Petzold <(E-Mail Removed)> writes:
>>>> I'm using a HP LaserJet 5N printer with A4 mediums. I configured on
>>>> debian (testing) cups to use A4. If I do my print jobs, der laser
>>>> printer says I should use the letter tray - even I configured cups to
>>>> use A4. Some wrong switches? I'm using cupsys 1.2.2-1.

>
>> $ pdfinfo hybridmagnet.pdf |grep Page
>> Pages: 7
>> Page size: 595.276 x 841.89 pts (A4)

>
>> for example, pdfinfo says it's A4. This file was created with Latex and
>> a4paper document option. The printer says to load the letter tray ...

>
> Are you printing from Acrobat Reader 7.x by any chance? The 7.x versions
> have a bug causing them to allways default to letter size and refuse to
> remember your paper size selelction after terminating.


I'm using Evince 0.4.0 (default pdf viewer install for debian?). Maybe
there is a bug?

Thanks
Olaf
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      08-23-2006, 06:50 PM
In comp.os.linux.misc Olaf Petzold <(E-Mail Removed)>:
> Hi,


> I'm using a HP LaserJet 5N printer with A4 mediums. I configured on
> debian (testing) cups to use A4. If I do my print jobs, der laser
> printer says I should use the letter tray - even I configured cups to
> use A4. Some wrong switches? I'm using cupsys 1.2.2-1.


Had this annoying problem with some printer out of this line
once. The only thing that really cured it was setting A4 paper
fixed in the printer, through its menu. I'd check the manual of
the printer how to go about it.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 68: only available on a need to know basis
 
Reply With Quote
 
Philipp Pagel
Guest
Posts: n/a

 
      08-24-2006, 07:51 AM
In comp.os.linux.networking Olaf Petzold <(E-Mail Removed)> wrote:
> Philipp Pagel schrieb:
> > In comp.os.linux.networking Olaf Petzold <(E-Mail Removed)> wrote:
> >> Unruh schrieb:
> >>> Olaf Petzold <(E-Mail Removed)> writes:

> > Are you printing from Acrobat Reader 7.x by any chance? The 7.x versions
> > have a bug causing them to allways default to letter size and refuse to
> > remember your paper size selelction after terminating.


> I'm using Evince 0.4.0 (default pdf viewer install for debian?). Maybe
> there is a bug?


I don't know, but I doubt it.

Just to narrow down the problem some more: What happens if you just say

lpr mydocument.pdf

cu
Philipp

--
Dr. Philipp Pagel Tel. +49-8161-71 2131
Dept. of Genome Oriented Bioinformatics Fax. +49-8161-71 2186
Technical University of Munich
http://mips.gsf.de/staff/pagel
 
Reply With Quote
 
Olaf Petzold
Guest
Posts: n/a

 
      08-25-2006, 01:50 PM
Thanks Philipp,

> In comp.os.linux.networking Olaf Petzold <(E-Mail Removed)> wrote:
>> Philipp Pagel schrieb:
>>> In comp.os.linux.networking Olaf Petzold <(E-Mail Removed)> wrote:
>>>> Unruh schrieb:
>>>>> Olaf Petzold <(E-Mail Removed)> writes:
>>> Are you printing from Acrobat Reader 7.x by any chance? The 7.x versions
>>> have a bug causing them to allways default to letter size and refuse to
>>> remember your paper size selelction after terminating.

>
>> I'm using Evince 0.4.0 (default pdf viewer install for debian?). Maybe
>> there is a bug?

>
> I don't know, but I doubt it.
>
> Just to narrow down the problem some more: What happens if you just say
>
> lpr mydocument.pdf


I should fill up the letter tray of my LJ5

CU Olaf
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS Network Printing Murphy Linux Networking 3 01-08-2005 06:53 PM
Printing with CUPS through SAMBA Hikaru79 Linux Networking 0 11-04-2004 02:20 AM
printing problem with samba and cups Sven Freihofer Linux Networking 3 04-22-2004 09:46 PM
CUPS printing problem Ryan Linux Networking 0 01-07-2004 05:16 PM
What are CUPS printing CGI files written? jm Linux Networking 1 07-12-2003 04:06 AM



1 2 3 4 5 6 7 8 9 10 11