MediaSize and PageSize synchronisation

Michael Sweet mike at easysw.com
Sat May 13 20:11:25 PDT 2006


Arne Glenstrup wrote:
> Hi,
> 
> 
> I am having trouble with the cups gs driver; for a printer
> with special paper sizes (notably, without A4, Letter and
> other standard sizes), it first sets PageSize correctly,
> but then resets PageSize to Letter, i.e. [612, 792].
> 
> Looking in espgs-8.15.2/pstoraster/gdevcups.c:2706, I see
> that this PageSize update is triggered ir PageSize OR
> .MediaSize are set, but in espgs-8.15.2/pstoraster/gdevcups.c:2815-2864,
> only MediaSize is used; PageSize is not checked.  Is this
> correct?

PageSize and .MediaSize are mapped to Ghostscript's MediaSize in
lib/gs_setpd.ps.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list