Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Reports Programmatically
Message
From
09/04/2003 08:53:18
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00533871
Message ID:
00775434
Views:
16
Hi again Nadya, since I see this issue in this thread too, I'll post it here. Another issue that I should've mentioned in my other thread is that as you know, GDI printers will not accept printer control codes, so while using ??? may work with your current printers, there is always the possibility that someone will get a host-based GDI printer in the future and the reports will no longer print at all. You will only receive error lights on the printer itself or the reports goes to la la land. I have run into this this year as some of our customers started purchasing systems that included low-end GDI printers so all of our reports are slowly migrating to VFP frx reports...


>>Hi Nadya,
>>
>>You might take a look at MSKB #Q017964. This is a reply to a question I had, and the answer from Ed Rauh. My question number was MSKB #Q035862. This would allow you to grab the handle of the print job and direct the output to a specific printer using CreateDC() WIN32API. You could send the senquence of character needed to put the printer into landscape mode. You would need to look at the printer's Docs. to see what sequence of characters to seed.
>>You can capture the printer's name to a variable like:
>>
>>cprinter = GETPRINTER()
>>
>>I'm having a little trouble getting the Question/Answer Numbers to link into the Knowledge Base. How do you do that?
>>
>>Oops, sorry about the cross post. I suppose I should have started a new thread having introduce another questions. ;-}
>>
>>LelandJ
>
>
>Thanks, Leland. The trick is to write MSKB then #... I just tried few combinations before I got it working.
>
>I'm going to check this KB now. Thanks much again. BTW, I didn't install Apache (my husband disallowed me), but did install SP. It took about 3h. that night... :)
>
>-----------------
>Ouch, both articles are unavailable... :(
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform