Home » Category » Microsoft Visual Basic

Microsoft Visual Basic: "Access" how to add priniting option

206| Thu, 03 Jan 2008 12:04:00 GMT| bonhoeffer| Comments (1)
Dear all,
I am writing a program in "Access XP", I would like to add two options for printing.
Here is my scripts as below:
Private Sub 275_Click()
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.OpenReport "Report - Bill Lading - Laser Print", acPreview, "[Bill No] = Forms![Form - Bill Lading].form![Bill No]"
DoCmd.PrintOut
DoCmd.Close

//Now it can be printed out with a Laser Printer. If I press the "print" button, I want to print out another option, such as print to PDF or another printer.
Thank you!

Bonhoeffer Ip

Keywords & Tags: access, add, priniting, option, microsoft, visual basic, vb

URL: http://www.programmerbase.com/visual-basic/108/
 
«« Prev - Next »» 1 helpful answers below.
Hi,

In which device will be printed your report depends on the page settings that you have done of your report!

If you introduce changes you can send it on a pdf or what you want!

Pls, transfer the questions concerning Access in the Access forum, there is more chance to obtain exaustive answers on the topics concerning Access!

:)

peb | Thu, 03 Jan 2008 12:06:00 GMT |

Microsoft Visual Basic Hot Answers

Microsoft Visual Basic New questions

Microsoft Visual Basic Related Categories