IPP clients (MAC OS X) always default to A4 media.

Darin Mayer peterabelard1 at hotmail.com
Sat Nov 12 23:10:05 PST 2005




On 11/12/05 7:07 AM, in article 23040-cups.general at news.easysw.com, "Michael
Sweet" <mike at easysw.com> wrote:

> Darin Mayer wrote:
>> Problem:
>> IPP Clients which are all Macs running 10.3 and higher always default to A4
>> media when printing thru the CUPS server.
>> 
>> Network Setup:
>> There are about thirty computers on site of all different types Dells, IBMs,
>> HPs, iMacs, iBooks, PowerBooks, etc. (PC are running 2000 & XP, Macs are
>> running Mac OS 10.3 and 10.4) All are printing haphazardly to a HP Laser Jet
>> 4 w/ Jet Direct. I set up one of the PCs with the Latest version of Debian
>> GNU. which serves as our webserver, and hopefully as our printserver if I can
>> get it working.
>> 
>> Relevant History of what I have done:
>> IP Address of JetDirect is set to 10.0.0.99
>> All the Macs were setup with CUPS originally with a deviceURI of
>> lpd://10.0.0.99/ to print to the LaserJet 4 which still works right now. The
>> New Debian Server (10.0.0.60) was similarly set up in this manner. a
>> deviceURI of lpd://10.0.0.99/ It prints fine locally. Windows Machines
>> (2000/XP) were setup to print via internet printing:
>> http://10.0.0.60:631/printers/LaserJet-4  They all print just fine thru the
>> print cue on the Debian Server.
>> 
>> At first I tried to setup the Debian Computer with a browseable cue so the
>> Macs could just browse to the printer with out have to manually do it like
>> the windows machines. It worked fine as far as I could tell LaserJet-4 shows
>> up in all the Mac Applications, but when a print job is sent to the debian
>> print que it would then sent to the print and everything would seem to be
>> fine execpt the Printer Itself would be flashing Load 'A4' size paper. We use
>> 'Letter' size paper.
>> So I manually configured a few Macs via the cups webinter face to DeviceURIs
>> of both: http://10.0.0.60:631/printers/LaserJet-4 and
>> ipp://10.0.0.60:631/printers/LaserJet-4 all with the same result of the
>> printer wanting someone to load 'A4' size Media.
>> 
>> In the MacOS System Preference default page size is set to 'Letter'
>> The individual application page setups were double checked to make sure they
>> were set to 'Letter' before printing.
>> 
>> From the termianl command line:
>> both -
>> lpoptions -h 10.0.0.60 -l  (the Debian Server) &
>> lpoptions -h localhost -1  (from any Mac)
>> return a '*Letter' in the PageSize/MediaSize: option indicaing that it is in
>> fact the default.
>> 
>> I have searched every possibility that I can think of that would make the
>> print request 'A4' media. Even the Printer itself is set to 'letter' as
>> default. The machines print fine set to print an lpd DeviceURI but ipp makes
>> something in the chain flag it to request 'A4' media and I can't figure out
>> what. (the idea is to route everyone thru one cue to eventually track and
>> impliment paper usage accountability) Any advice is welcome.
> 
> Try the following on the Debian system:
> 
>      lpadmin -p printername -o PageSize=Letter
> 
I tried what you have suggested. I did it it both with the Mac clients and
with the Debian server. I've also tried setting other options like
PageRegion=Letter, not sure what that does, but it didn't work either.

Correct me if I'm wrong. But doesn't this type of lpadmin directive just
edit the PPD file associated with the printer specified. Assuming this is
true, I checked all the PPD files both on the server and the Mac clients and
they all have 'Letter' flagged for the default setting. The printer is still
requesting 'A4' paper when printing from cups clients (Macs) thru the Debian
Server.





More information about the cups mailing list