Gee, you and I have been busy together today.
I had to re-read backward through this whole thread to remember what the
original question was that I asked. The issue is this:
If I change the orientation in my default printer to landscape and save
that. Then when my application tried to print it loads the default
printer print context. But there is nothing that I can querry to
indicate that the orientation is set to landscape. So I format my
printed page for portrait but it does in fact print in landscape. It
just looks funny.
I guess it boils down to this:
- If I call PpLoadDefaultPrinter()
- which has orientation set to landscape
PpGetPC() for Pp_PC_ORIENTATION is not returning the proper value.
But Landscape is being used in the print context and my printed page
Do you really need me to upload my application? I can if you want.
Bill Caroselli <firstname.lastname@example.org> wrote:
BC > I can FTP it to my old QUICS account. It’s ‘bcaroselli’.
BC > Give me about two hours. I just got back from an illness.
BC > I’m catching up in the office.
BC > Tell me what parts you want?
BC > Executable?
BC > Stripped or not?
BC > All sources?
BC > Brenda Merpaw <email@example.com> wrote:
BC > BM > Hi Bill,
BC > BM > Sorry for the delay in getting back to you. How big is your app? I just
BC > BM > want to make sure it isn’t too big to post to the newsgroup.
BC > BM > Regards
BC > BM > Brenda
BC > BM > “Bill Caroselli” <firstname.lastname@example.org> wrote in message
BC > BM > news:email@example.com…
I have an HP4100N network printer. I can print to it in either PCL or
PostScript. PostScript generally looks better so that’s what I usually
In my application I am simply calling PpLoadDefaultPrinter().
I querry Paper Size, Margins, Resolution and Orientation and then I Set
When I want to change the “default attributes” of the printer I go into
Helpviewer, click on the Print Button, and go into Preferences on the
Select Printer Dialog. I change whatever, and then select “Save Personal
Defaults”. Then I Cancel Out of the Printer Preferences and Printer
BC > BM > Select
My app is not small. But I can stript it and post it if you want.
Brenda Merpaw <> firstname.lastname@example.org> > wrote:
BM > How are you getting the application to start phs-to-ps filter? Do
BC > BM > you have
BM > a small sample app that you can post that reproduces this problem?
BM > “Bill Caroselli” <> email@example.com> > wrote in message
BM > news:chacv5$b2k$> firstname.lastname@example.org> …
If a Photon application had a print context open and the program
terminates prematurely, i.e. SIGSEGV, then phs-to-ps ends up looping at
Something should detect this and release the print context so that
phs-to-ps doesn’t loop. Or else, phs-to-ps (and I assume other printer
drivers) should have the logic to deal with this gracefully.
BC > –
BC > Bill Caroselli – Q-TPS Consulting
BC > 1-(708) 308-4956 <== Note: New Number
BC > email@example.com
Bill Caroselli – Q-TPS Consulting
1-(708) 308-4956 <== Note: New Number