NickBridgens
Registered User.
- Local time
- Today, 02:44
- Joined
- Nov 29, 2001
- Messages
- 13
I have a report that prints to a preprinted form. Having set it to print perfectly on one printer, it is then about 3 or 4mm out both ways printing on another printer, so the boxes don't line up - relativity fine, absolute positioning slightly adrift.
At the moment the form from which the report prints shows command buttons for printing to printerA and printerB and those link to two nearly identical reports but with slightly different page layout margins.
Can I....
1: Look at the PC's default printer
2: Check against a table of printers / margins required
3: Put those margins into the report at run time.
The third one is the most vital. Given the very small number of PC's (and the printers are static) , I could just put an "if PC name is X then set margins to ... else" type statement and change it when a printer gets changed.
Any suggestions?
Cheers
Nick Bridgens
At the moment the form from which the report prints shows command buttons for printing to printerA and printerB and those link to two nearly identical reports but with slightly different page layout margins.
Can I....
1: Look at the PC's default printer
2: Check against a table of printers / margins required
3: Put those margins into the report at run time.
The third one is the most vital. Given the very small number of PC's (and the printers are static) , I could just put an "if PC name is X then set margins to ... else" type statement and change it when a printer gets changed.
Any suggestions?
Cheers
Nick Bridgens