Office Software Thread, Strange MSAccess printing problem with .vbs in Technical; I have created a GUI with autoit with some buttons, which when pressed execute a .vbs script which prints out ...
30th January 2009, 03:49 PM #1
[SOLVED] Strange MSAccess printing problem with .vbs
I have created a GUI with autoit with some buttons, which when pressed execute a .vbs script which prints out various reports from an Access Database:
It works fine, but the problem is, that when doing it this way, some horizontal lines Ive used in making a table in the report just dont print. On any printer, any time.
Set objAccess = CreateObject("Access.Application")
Set objCommand = objAccess.DoCmd
objCommand.OpenReport "Subject Reports"
MsgBox "Reports sent to the printer...",64,"School Reports"
When opening the database manually and printing the report that way, the lines print OK.
Im at a loss... Any idea why doing it this way might make the lines vanish!?
Last edited by RabbieBurns; 31st January 2009 at 08:35 PM.
31st January 2009, 08:36 PM #2
Solved. I increased the thickness of the lines on the table, and they all seem to print fine now. Wierd.
Last Post: 16th December 2008, 12:08 AM
By Michael in forum Windows
Last Post: 25th February 2008, 03:05 PM
By dagza in forum EduGeek Joomla 1.0 Package
Last Post: 21st January 2008, 10:14 PM
By richard in forum Windows
Last Post: 15th June 2007, 07:58 AM
By Maxell in forum Windows
Last Post: 5th February 2007, 05:01 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)