Pp.bmp

bridged with qdn.public.qnx4.photon
Post Reply
Bill Caroselli (Q-TPS)

Pp.bmp

Post by Bill Caroselli (Q-TPS) » Wed May 08, 2002 10:24 pm

I have an app whose's window is 800x600.

I used snapshot to create a *.phs file.

I then tried to use Pp.bmp create a *.bmp file but it is huge. 'pv' claims
the image is 1912x2550.

I tried Pp.bmp -or94 which generates a bmp that is 599x799 and
I tried Pp.bmp -or95 which generates a bmp that is 807x605.

Why is it so difficult to generate a *.bmp file that is 800x600 from an app
that is 800x600?

What's the magic that I'm missing?

Marian Oklapek

Re: Pp.bmp

Post by Marian Oklapek » Fri May 10, 2002 5:58 am

The magic is here:
Modify your /usr/photon/print/printers file, section [BMP Spool File], line Filter = Pp.bmp to
Filter = Pp.bmp -oS-1x-1 ( I using default PaperSize=8500x11000 ).
For more information type: use Pp.bmp

Majo.

Bill Caroselli \(Q-TPS\) <QTPS@EarthLink.net> wrote:
I have an app whose's window is 800x600.

I used snapshot to create a *.phs file.

I then tried to use Pp.bmp create a *.bmp file but it is huge. 'pv' claims
the image is 1912x2550.

I tried Pp.bmp -or94 which generates a bmp that is 599x799 and
I tried Pp.bmp -or95 which generates a bmp that is 807x605.

Why is it so difficult to generate a *.bmp file that is 800x600 from an app
that is 800x600?

What's the magic that I'm missing?

Bill Caroselli (Q-TPS)

Re: Pp.bmp

Post by Bill Caroselli (Q-TPS) » Fri May 10, 2002 4:45 pm

Well I did read the usage msg before I asked the question.

I tried what you suggested and of course it worked like a champ. But I
would NEVER have guessed that that was what I was supposed to do from that
usage message. Now that I tried it, it makes sense. But that usage message
needs to be rewritten.

Thanks.

"Marian Oklapek" <majo@microstep-mis.sk> wrote in message
news:abfnis$7kl$1@charon.microstep-mis.sk...
The magic is here:
Modify your /usr/photon/print/printers file, section [BMP Spool File],
line Filter = Pp.bmp to
Filter = Pp.bmp -oS-1x-1 ( I using default PaperSize=8500x11000 ).
For more information type: use Pp.bmp

Majo.

Bill Caroselli \(Q-TPS\) <QTPS@EarthLink.net> wrote:
I have an app whose's window is 800x600.

I used snapshot to create a *.phs file.

I then tried to use Pp.bmp create a *.bmp file but it is huge. 'pv'
claims
the image is 1912x2550.

I tried Pp.bmp -or94 which generates a bmp that is 599x799 and
I tried Pp.bmp -or95 which generates a bmp that is 807x605.

Why is it so difficult to generate a *.bmp file that is 800x600 from an
app
that is 800x600?

What's the magic that I'm missing?




Guest

Re: Pp.bmp

Post by Guest » Thu May 16, 2002 6:09 am

"Bill Caroselli \(Q-TPS\)" <QTPS@earthlink.net> wrote:
Well I did read the usage msg before I asked the question.

I tried what you suggested and of course it worked like a champ. But I
would NEVER have guessed that that was what I was supposed to do from that
usage message. Now that I tried it, it makes sense. But that usage message
needs to be rewritten.
This seems to be one of the best kept secrets of QNX/Photon.
It is only told from one old guru to another by mouth

.... and sometimes you can find this kind of information in these
newsgroups as well :-))

--
__ __ ____ ____
| \/ | __ ) ___| Karsten.Hoffmann@mbs-software.de MBS-GmbH
| |\/| | _ \___ \ Phone : +49-2151-7294-38 Karsten Hoffmann
| | | | |_) |__) | Fax : +49-2151-7294-50 Roemerstrasse 15
|_| |_|____/____/ Mobile: +49-172-3812373 D-47809 Krefeld

Post Reply

Return to “qdn.public.qnx4.photon”