I'm playing around with flexible, automated page-sizes which should be configured by Autolisp. One of my ideas (not solutions ...) is
- to add a special paper-size via "Windows - Printers - Print server propeerties - Forms" (sorry, if not correctly re-translated from German) and
- to modify the paper-size via Autolisp (vl-registry-write ...)
Now I have a registry-entry like this:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Forms\PDF_Formatter]
"FormKeyword"=hex:7b,35,44,42,42,30,42,43,43,2d,43,43,46,41,2d,34,37,42,45,2d,\
41,34,46,41,2d,45,41,35,44,32,39,41,46,36,33,32,32,7d,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Forms]
"PDF_Formatter"=hex:d0,bf,0b,00,80,6d,0d,00,00,00,00,00,00,00,00,00,d0,bf,0b,\
00,80,6d,0d,00,4c,00,00,00,00,00,00,00
Now the questions are:
a) Is the basic idea realisable? If yes - how to handle the registry?
b) Or are there better solutions?
Thanks and regards