All of lore.kernel.org
 help / color / mirror / Atom feed
From: Till Kamppeter <till.kamppeter@gmail.com>
To: Robert Krawitz <rlk@alum.mit.edu>
Cc: printing-architecture@lists.linux-foundation.org,
	printing-summit@lists.linux-foundation.org,
	martin.pitt@ubuntu.com, msweet@apple.com
Subject: Re: [Printing-architecture] [Printing-summit] Issue list from HP
Date: Wed, 15 Apr 2009 16:28:56 +0200	[thread overview]
Message-ID: <49E5EF28.5030905@gmail.com> (raw)
In-Reply-To: <200904151206.n3FC6n7j030700@dsl092-065-009.bos1.dsl.speakeasy.net>

Robert Krawitz wrote:
>    Date: Wed, 15 Apr 2009 13:47:39 +0200
>    From: Till Kamppeter <till.kamppeter@gmail.com>
> 
>    No, there is a special PostScript expression:
> 
>    <</cupsPageSizeName (A4.Full)>>setpagedevice
> 
>    So the PostScript code of each paper size must be
> 
>    <</PageSize[595 842] /cupsPageSizeName (A4.Full)>>setpagedevice
> 
> Like this?
> 
> *PageSize Letter.Full/Letter:	"<</PageSize[612 792]/cupsPageSizeName (Letter.Full)/ImagingBBox null>>setpagedevice"
>

Yes, exactly this way.

If a PDF workflow is used or an image is directly sent to CUPS there is 
no PostScript data stream involved. In these cases the pdftoraster and 
imagetoraster filters parse the PostScript code in the PPD file via a 
CUPS library function and so alo in this case both the paper size in 
numbers and the paper size name get made use of.

>    > PCFileName is a *real* crock these days.
> 
>    Is it really needed in real life?
> 
> Seems to me that everything newer than Windows 3.1 supports long file
> names.  We just generate names like STP00001.PPD, which aren't stable
> from release to release (when we add new printers).
> 

Here we only need to satisfy the specs somehow. This is one method.

    Till

  parent reply	other threads:[~2009-04-15 14:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <46089FAF7804194C8AD6458E272B07182174584144@GVW0676EXC.americas.hpqcorp.net>
2009-04-14 23:22 ` [Printing-architecture] Issue list from HP Till Kamppeter
     [not found]   ` <200904150120.n3F1Kg95023375@dsl092-065-009.bos1.dsl.speakeasy.net>
     [not found]     ` <49E55C8C.2010500@apple.com>
     [not found]       ` <200904151139.n3FBdmZJ030596@dsl092-065-009.bos1.dsl.speakeasy.net>
2009-04-15 11:47         ` [Printing-architecture] [Printing-summit] " Till Kamppeter
     [not found]           ` <200904151206.n3FC6n7j030700@dsl092-065-009.bos1.dsl.speakeasy.net>
2009-04-15 14:28             ` Till Kamppeter [this message]
     [not found]   ` <alpine.LNX.2.00.0904151216120.10560@nelson.suse.de>
     [not found]     ` <49E5D2AB.7000000@redhat.com>
2009-04-15 14:41       ` [Printing-architecture] " Till Kamppeter
2009-04-27 16:16   ` Till Kamppeter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49E5EF28.5030905@gmail.com \
    --to=till.kamppeter@gmail.com \
    --cc=martin.pitt@ubuntu.com \
    --cc=msweet@apple.com \
    --cc=printing-architecture@lists.linux-foundation.org \
    --cc=printing-summit@lists.linux-foundation.org \
    --cc=rlk@alum.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.