PDF using R&R OCX

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
R&R_user_(Guest)
Posts: 2
Joined: Tue Oct 10, 2017 12:44 pm

PDF using R&R OCX

Post by R&R_user_(Guest) » Wed Oct 26, 2005 11:21 am

Using R&R ver 10+ I am able to print to a PDF file if i use RRWRUN.exe__I was not able to do it from the OCX and no PDF option shows up in the documentation.__Any idea if PDF can be produced while using the OCX ?

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: PDF using R&R OCX

Post by kfleming » Thu Oct 27, 2005 10:42 am

I just did a quick test with this code in VB and was able to produce PDF output using the OCX.____Private Sub Command1_Click()__RRReport1.ReportName = "C:QAugfilesPDF.RRW"__RRReport1.Printer = "R&R PDF Export"__RRReport1.PrintFileName = "C:qaugfilesmypdf.pdf"__RRReport1.Action = 1__End Sub______Kathleen__R&R Support

R&R_user_(Guest)
Posts: 2
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: PDF using R&R OCX

Post by R&R_user_(Guest) » Mon Oct 31, 2005 8:09 am

Can you also confirm that the ^?^ in the printer property does display a printer dialog box as documented.__My experiance is that it automatically sends it to the default printer when set as:____rrreport1.destination := 2__rrreport1.printer := ^?^__

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: PDF using R&R OCX

Post by kfleming » Mon Oct 31, 2005 8:38 am

When I use:__Private Sub Command1_Click()__RRReport1.ReportName = "C:QAugfilesPDF.RRW"__RRReport1.Printer = "?"__RRReport1.Destination = "2"__RRReport1.Action = 1__End Sub____I correctly get the printer dialog.____Kathleen__R&R Support

Post Reply