Jack
I'm working on a time keeping program for my payroll. So I used your
query to give me a kick start, sometimes you can't see the forest for
the trees.
Direct to printer?
here is XFRX notes
15.5 Printing XFF files
To send the content of a XFF file to a printer, call printDocument
method of the XFRX#DRAW class instance. The name of the printer, job
name and page range can be sent as parameters.
Please see the full parameter list and further details in the XFRX#DRAW
class reference.
Example: Printing an XFF file
loXFF.printDocument(getprinter(),"xfrx – invoice", "1,2,4-10")
so i used this
loPreview.PreviewXFF(loXFF)
*loPreview.show(1)
loPreview.show(0)
lcPrinter = GETPRINTER() && select a printer
loXFF.printDocument(lcPrinter, "job name", 1, 3)
My private address is on all my web pages.
Andrew Stirling
01250 874580
http://www.calcpay.co.uk
HMRC Accredited UK payroll program
Jack Skelley wrote:
> Andrew:
> Wow Again!
> I spent the day looking over your code and making it work in VFP8. Not ready
> to go to VFP9 yet...as you know there is no
> 'object' parameter in VFP8s REPORT construct.
> I read through your code and looked at their documentation and was able to
> get it working.
> The only thing I was not able to do was to send the report directly to the
> printer without previewing first then
> selecting the print option. What did I miss there? Is it some parameter? I
> would like to be able to preview the report
> but also send it directly to the printer without seeing it.
> Could you send me in a private email your postal mailing address?
> You obviously went above and beyond the call to duty on this one! It is
> greatly appreciated.
> Thanks so much for the push in the right direction.
> Best regards,
>
> Jack
>
>
>
> Andrew Stirling wrote:
>> Jack
>> I have now included the prg & report as a download at
>> http://www.calcpay.co.uk/info/hockeytime/cursorrowtoinlinereport.html
>>
>>
>> Andrew Stirling
>> 01250 874580
>> http://www.calcpay.co.uk
>> HMRC Accredited UK payroll program
>>
>>
>>
>>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/%(messageid)s
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.