473,473 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Printing to a specific printer

Does anyone know how to print a report to a specific printer, and even using
a specific tray. Using VB or even a macro.

Jeff
Nov 13 '05 #1
2 2886
Just to elaborate. In this case I don't want to specify a printer for the
report in design mode. It should use the default printer, unless it is
printed to a specific printer using VB or a macro

Jeff

"Jeff" <je************@asken.com.au> wrote in message
news:Ry****************@news.optus.net.au...
Does anyone know how to print a report to a specific printer, and even using a specific tray. Using VB or even a macro.

Jeff

Nov 13 '05 #2
"Jeff" <je************@asken.com.au> wrote in message news:<vB****************@news.optus.net.au>...
Just to elaborate. In this case I don't want to specify a printer for the
report in design mode. It should use the default printer, unless it is
printed to a specific printer using VB or a macro "Jeff" <je************@asken.com.au> wrote in message
news:Ry****************@news.optus.net.au...
Does anyone know how to print a report to a specific printer, and even

using
a specific tray. Using VB or even a macro.


What version of Access? Newer version (A2002?) have a collection of
printers - Application.Printers I believe. Older versions can use the
code located at:

http://www.mvps.org/access/reports/rpt0009.htm

For printer tray selection check out this KB article:
http://support.microsoft.com/?kbid=200546

'---------------
' John Mishefske
'---------------
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Danny van Kasteel | last post by:
Hi all, I'm in need of a component that allows for printing a .pdf file, while assuming the identity of a windows account of choice. This is absolutely necessary, as the account is used to...
5
by: Mark Preston | last post by:
Admission first - I don't actually have a problem here but have noticed that a lot of people have been asking similar questions and getting very varied answers. What I've done is to sort of...
0
by: Karthik | last post by:
Well I am coding an application using C# for my company which requires multiple printing of Crystal Report Docs & Word Docs, at a specific Printer of the installed Printers in the network, at a...
5
by: Tom | last post by:
I am converting an old application that was printing directly to a specialized printer device (i.e. a special label printer). It was doing this by opening a file with the file path of 'LPT1:' and...
2
by: ThunderMusic | last post by:
Hi, I must print a PDF report from a windows service (so without human action). The pdf is located in a specific place on hard drive that is accessible to the application. Until now, I've only...
3
by: Rich Kayton | last post by:
I have an application that is currently a DBASE/Clipper application. We print out a variety of custom labels on Epson DOT matrix printers. I would like to be able to print these labels. I am...
4
ADezii
by: ADezii | last post by:
Recently, there seems to be several questions specifically related to Printers and changing Printing characteristics for Forms and Reports. For this reason alone, I decided to dedicate this week's...
1
by: Alex | last post by:
Hi, I'm writing an app to run on a server, hopefully autmated, and every 5 minutes it needs to hit a database and if any new records have been entered, print the record to a printer depending on...
18
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing...
1
by: billelev | last post by:
Here is some code that I have adapted slightly. It allows a report to be printed to a specific location. It works by calling SaveReportAsPDF and specifying the access report name, and the root...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.