Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

Tab (ascii 9) being collapsed when printing output

$
0
0

Hi Stef, 

The value of the TextBox is "CALIBRATION OF INJECTION PUMP/INJECTOR OF  STAKE TRUCK (ST-09)\r\nA. INJECTION PUMP\r\n10 pcs.\tPlunger and barrel @ 2,400.00\t\t24,000.00\r\n10 pcs.  \tDelivery valve \t@ 1,200.00\t\t12,000.00\r\n10 pcs.  \tDelivery valve gasket  50.00\t\t     500.00\r\n 2 pcs.   \tCamshaft bearing\t @   950.00\t\t  1,900.00\r\n 1 pc.     \tCamshaft oil seal big @\t\t\t     750.00\r\n 1 pc.\tPiston\t\t\t\t\t     175.00\r\n 1 pc.\tFeed pump oil seal small @550.00\t\t     550.00\r\n1 set \tFeed pump kit\t\t\t\t     720.00\r\n1 set \tRepair kit\t\t\t\t  1,800.00\r\n1 lot\tPull out and installation\t\t\t     800.00\r\nLabor for overhauling & calibration\t\t\t  1,000.00\r\nB. INJECTOR\r\n10 pc.s\tNozzle tips\t@2,400.00\t\t24,000.00\r\n10 pcs.\tInjector labor\t@ 100.00\t\t  1,000.00\r\n\t\tTOTAL AMOUNT\t\t\t69,195.00\r\n\t\tLESS: 20% DISCOUNT\t\t13,839.00\r\n\t\tTOTAL AMOUNT\t\t\t55,356.00\r\n\t\tAdd 12% VAT\t\t\t  6,642.72\r\n\t\tTOTAL AMOUNT\t\t\t61,998.72\r\n\t\tLess: Addtl. discount\t\t  3,998.72\r\n\t\tDISCOUNTED AMOUNT\t\t58,000.00\r\n\r\nTERMS OF PAYMENT : 30 DAYS PDC UPON DELIVERY\r\n"

By testing this scenarios, all sections of the report has problems with the output having tab character (\t)

to show this report, I made a report viewer window (derived to window class) and have the code below to display inside the report viewer

InstanceReportSource instanceReportSource = new InstanceReportSource() { ReportDocument = (Telerik.Reporting.Report)reportSource };

            rptViewer.ViewMode = Telerik.ReportViewer.Wpf.ViewMode.PrintPreview;
            rptViewer.ReportSource = instanceReportSource;

 

Thanks for your reply!

 

 


Viewing all articles
Browse latest Browse all 99250

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>