Re: Printers
- From: "Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx>
- Date: Mon, 13 Jun 2005 22:15:52 +0800
The Printers collection and Printer object were introduced in Access 2002,
so that's why it won't work in A2000.
It is possible in A2000 to manipulate the printer. Albert Kallal has the
code here:
http://www.members.shaw.ca/AlbertKallal/msaccess/printch2k.zip
or you can use PrtMip as Ken Getz explains here:
http://www.microsoft.com/AccessDev/Articles/GetzCh10.HTM
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Ernst Guckel" <ErnstGuckel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:39D130E0-C32C-414E-AAA8-24B5E09C975A@xxxxxxxxxxxxxxxx
>
> for some reason this does not work in Access 2000 but worls fine in 2003.
> Any ideas?
>
> Private Sub cFax_Click()
> sReportName = "rPayroll"
>
> Application.Printer = Application.Printers("WinFax")
> DoCmd.OpenReport sReportName, acViewNormal, _
> wherecondition:="[weDate] = " & Chr(34) & dFilter & Chr(34)
>
> Application.Printer = Nothing
> End Sub
>
>
> Thanks,
> Ernst.
.
- References:
- Printers
- From: Ernst Guckel
- Printers
- Prev by Date: Re: How to Find the Date of Last Change in Inventory
- Next by Date: RE: Still Trying re: formula or function
- Previous by thread: Printers
- Next by thread: BusinessObjects automation
- Index(es):
Relevant Pages
|