Applies to:
PcVue all versions. |
||
|
||
Summary:
A way to print a document on a different printer to the Windows’ default. |
||
|
||
Details:
A VBA module which allows the default printer to be changes. Then it is easy to print a document with the command line (Shell “Write /p file.txt”). After you can come back to the previous default printer. This module has been tested on PcVue 720d VBA under Windows XP. It should work on other versions of PcVue supporting VBA. Below is a sample of code, executed from a mimic button, to print a specifc document on a specific printer (PDF995) : Dim PathFile As String PathFile = “””” & ThisProject.Path & “\TP\Test.txt” & “””” Shell “WRITE /p ” & PathFile Download attachments: ModPrinter.zip |
||
|
||
|
Created on: 30 Dec 2010 Last update: 04 Sep 2024