By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,097 Members | 1,351 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,097 IT Pros & Developers. It's quick & easy.

printing records

P: 11
in my project i m using data environment to peint the records . but i cannot get the required print as i have to go and manuaaly set the printer settings . its very tiresome . .
i m using these codes to print the record
If Not lrs Is Nothing Then
lrs.Filter = "SrNo = '" & strId & "'"
' Bind the Recordset to the Report
Set Stock_Info.DataSource = lrs.DataSource
Stock_Info.DataMember = lrs.DataMember
Stock_Info.Refresh
Stock_Info.Show
Stock_Info.PrintReport False
End If
the record has to be printed in a form .with the potrait printing . can anyone help me withe codes as to how to get the printer settings trough code
Mar 21 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.