Message 1 of 4
vla-GetLocaleMediaName to find current local paper size?

Not applicable
03-01-2002
01:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have used vla-GetLocaleMediaName to retrieve all available paper sizes
from the current printer (using Jimmy B's code from thread "Paper Size of
Selected Printer??" posted on September 13, 2000) and I have used
vl-registry-read to get the key from MRUConfig which appears to give me the
name of the current printer. However I have not found a way to retrieve
what the current paper size is actually set to. I would like to use the
local media name so I don't end up with things like "user1" which are not as
friendly. I've also looked at using the PLOTSETTINGS group codes but had
little success there as well. I'm using 2000i on NT4 & 2000 workstations
and I'm trying to update my plot logging utility I wrote for R14. The built
in plot logging utility for 2000i does not provide a job number (which I
just extract from the directory that the file is in) and we use HP 5000
printers which apparently don't get along with that version of plot log
anyway (HP & Autodesk knowledge bases say to turn plot logging off when
using a HP 5000 printer).
Any help is much appreciated!
Jerry Griffin
from the current printer (using Jimmy B's code from thread "Paper Size of
Selected Printer??" posted on September 13, 2000) and I have used
vl-registry-read to get the key from MRUConfig which appears to give me the
name of the current printer. However I have not found a way to retrieve
what the current paper size is actually set to. I would like to use the
local media name so I don't end up with things like "user1" which are not as
friendly. I've also looked at using the PLOTSETTINGS group codes but had
little success there as well. I'm using 2000i on NT4 & 2000 workstations
and I'm trying to update my plot logging utility I wrote for R14. The built
in plot logging utility for 2000i does not provide a job number (which I
just extract from the directory that the file is in) and we use HP 5000
printers which apparently don't get along with that version of plot log
anyway (HP & Autodesk knowledge bases say to turn plot logging off when
using a HP 5000 printer).
Any help is much appreciated!
Jerry Griffin