[pdftex] pdfximage - Command

Heiko Oberdiek heiko.oberdiek at googlemail.com
Thu Feb 24 17:41:10 CET 2011

On Thu, Feb 24, 2011 at 03:35:58PM +0530, Pradeepkumar.Mohanraj-EXT at continental-corporation.com wrote:

> I am  using pdflatex to generate PDF.
> Every thing is working I am facing a problem while inserting the logo at 
> the footer.
> I want insert at page and I want to refer it .I am using below command.
> \immediate \pdfximage width 6.3cm {test.pdf}{\pdfrefximage \pdflastximage}
> Logo  is generating correctly until a new image is not encountered once 
> new image is added it will refer that image as last image and starts 
> problem.

You must save the value of \pdflastximage in a counter or
macro (using \edef and \the).

But why are you using low level primitives?
You are using LaTeX, thus the problem is already solved by



Documentation, e.g.: grfguide.pdf

Yours sincerely
  Heiko Oberdiek

More information about the pdftex mailing list