Virtual Port Monitor Questions & Answers
Q. What is the purpose of Virtual Port
Monitor?
A. It produces raw printer output so that developers and end
users can operate on the single feature most programs have; the ability to
print. By capturing the printer output, several possibilities exist:
- Database applications.
- Automatic imposition for printing plates.
- Print previewing.
- Printer control and management.
- Delivery to a service bureau or quick printer.
- Data logging.
- Printer driver testing.
- Email automation.
- Forwarding to a distilling or ripping application.
The list goes on...
Q. I ran the installer. Now
what? A. Open your Printers folder and select a printer. Select
menu Printer | Properties.Go to the Details (Win9x) or Ports(WinNT/XP/200X) tab and click add port. Select
Other, then select Alphatronics Virtual Port and click OK. A dialog is
displayed allowing you to enter the port name. Enter a port name such as DISK:.
Select the folder you would like the resulting printer output files saved.
Additionally, you may select a post-print application. The application you
select will be executed after processing is complete, appending the output
filename to the command line, which causes most applications to perform the "open"
function on the file. This feature allows program authors to create applications
that operate on printer files. Click OK in the dialog, then OK in the Printer Properties. Now
when you print to that printer, files will go to disk, being named
automatically.
Q. Are there any features missing in the
unregistered version? A. No. The
only difference is the dialog after each print.
Q. If I purchase a registration number,
does the registration reminder screen go away? A. Yes. Just run the installer and enter your registration code when prompted.
Q. I tried to import the printer output
into a word processor and got garbage. Am I doing something wrong? A.
Most printer output is understood by printers only. The exception to this rule
is if the printer driver is designed to produce image data or text. Standard
Windows drivers do not produce image data, but the "Generic/Text Only" driver
will produce text. Also, graphic design programs allow placement of EPS files.
This requires a Postscript printer driver with the Postscript Output Format set
to Encapsulated Postscript (EPS). This format does not produce a preview of the
file and may not work as expected.
Q. My software is "hard wired" to print to
LPT1. Can I capture printer output from LPT1..LPT3? A.
Yes, but if the physical port actually exists, the Windows port monitor
gets control of it before Virtual Port Monitor can. For Windows 9x,
begin by disabling the printer port in BIOS setup. Boot into Windows,
and delete LPT1: from the device manager. Select a printer, get the
properties for it, and create a Virtual Port called LPT1:. On Windows
NT, you only need to delete the port from the list of available ports,
then add the Virtual Port. For Windows 2000, you need to delete the
port you want to capture from the list of ports Windows supports by
using the registry editor. The location of the key is
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Ports.
Each port is is a REG_SZ value with no data assigned. The same rules
apply if the port actually exists in the machine where it needs to be
removed from the device manager and BIOS. After removing the port from
the registry, you will need to restart the spooler service or the
computer. Windows 2000 still calls it a "Local Port" because it starts
with "LPT".
Q. I added a Virtual Port called LPT1..LPT3, but it's not working in DOS mode.
A. The Windows print spooler will not support Virtual Ports that are
not attached to a printer. Attach it to an existing printer in the
printers folder, or install a printer and attach it to a Virtual Port.
Q. Does Virtual Port Monitor alter the
data emitted by the driver? A. No. The resulting file is a binary
copy of all data sent from the driver. Some drivers change their output based
on data collected from the printer (i.e.: choose not to download fonts
installed in the printer). Since a Virtual Port is not bi-directional, this
query cannot be performed, so there may be a difference in the data output from
the driver because of this.
Q. Does Virtual Port Monitor run as a service? A.
There is no need to install any additional services because Virtual
Port Monitor is installed as an extension to the Print Spooler service.
Once Virtual Port Monitor is activated, the Print Spooler service loads
it when it starts, so there is no need to have a user logged on to the
console.
Q. My Print Spooler keeps crashing. They recommended removing all third party port monitors? A.
To troubleshoot a spooler problem you can use Virtual Port Setup
(AVPSetup.exe) to de-activate Virtual Port Monitor for troubleshooting
purposes. Once the problem is isolated, you can re-activate Virtual
Port Monitor using the same utility. There are no known problems with
Virtual Port Monitor crashing the Spooler Service.
Q. If I install Virtual Port Monitor on a
central server and share printers using Virtual Ports, do I have to purchase
more licenses? A. No. The software is installed on one computer. If
you need to install the software on more than one computer, then more licenses
would be required. Our Site license allows you to install Virtual Port Monitor
on every computer at a single location.
Q. If I install Virtual Port Monitor on a
cluster of servers do I have to purchase
more licenses?
A. Yes. The software is installed on more that one computer.
Q. Can Virtual Port Monitor receive jobs
from the internet? A. Windows NT/2000 Server
has an LPD service (TCP/IP Printing) in which jobs can be received via TCP/IP.
This enables all printers on the server to receive print jobs using the LPR
command or third party utilities.
Q. What is the Security tab for (NT/2000/XP/2003
Only)? A. When the output directory is on
another server or while executing the post-print application, a security
context may be needed because Virtual Port Monitor runs under the local system
account, which does not have permission to access the network, or perhaps other
resources. The security context entered should be local to the machine because
the user profile is loaded when the post-print application is run. The user
profile supplies needed environment variables and other inherited information
from the all users account which will better assure that your post-print
application will run properly. If this information is left blank, output is
restricted to the local machine and the post-print application should have a
fully qualified path.
Q. I entered a security context, but it isn't working properly.
A.
Make sure you can log on to the computer
that Virtual Port Monitor is installed with the credentials supplied on
the security tab, then make sure you can access the resources that you
expect Virtual Port Monitor to access. This also ensures that a
user profile is created for the user on the local machine. Roaming
profiles are not supported. You can also test the security context of a
Virtual Port by entering CMD.EXE as the command line for the post-print
application, then print a test page. Once the console comes up, you can
type SET | MORE at the command prompt to get environment information,
and further test your ability to access recources.
Q. Does Virtual Port Monitor work with
Ghostscript? A. Yes, and it's free! Install the Apple Laserwriter
driver (or some other Postscript driver) and browse for gswin32.exe on the
post-processing configuration tab. This will default to screen preview. For
other types of output, a modification to the command line entered into the
post-print application edit box is required. The following example will cause
Ghostscript to emit a PDF file:
C:\gs\gs7.00\bin\gswin32.exe -r1152
-sDEVICE=pdfwrite -dBATCH -dNOPAUSE -sOutputFile="%AVPPath%%AVPBaseFileName%-%02d.pdf" %1 -c
Or you may choose to use a batch file for processing so that the
postscript file is deleted after the image file is created. This example will
create a 96 DPI TIFF file:
@REM RipToTiff.bat; Each line starts with
@ @start /m /w C:\gs\gs7.00\bin\gswin32.exe -r96 -sDEVICE=tiff24nc -dBATCH
-dNOPAUSE -sOutputFile=%1-%%02d.tif %1 -c @del %1
%1
represents the first command line parameter (the output file created by Virtual
Port Monitor). Since the program is run as a separate process, possible memory
leaks and crashes are externalized from the spooler service.
Q. Can the source code be
purchased? A.
We feel that it would disturb our relationships with Reseller and VAR
partners. If you feel you need
additional functionality, feel free to contact us for reasonable fees
on customization.
Additional questions will be addressed via email at
alphatronics@sprintmail.com
|