I have had a macro in Word that enabled me to choose which
paper tray to use in an HP laser printer. This worked well.
An upgrade of machine and a new operating system but not
printer has caused problems.
The macros use Page Setup to define trays used as well as
paper size with these three parameters:-
.PageWidth = CentimetersToPoints(21)
.PageHeight = CentimetersToPoints(29.69)
.FirstPageTray = wdPrinterLowerBin
The paper width and height used is for the European A4
size. The printer ignores the A4 and prints as if it was US
Letter size.
I can get round this by using
Print/Properties/Advanced/Papersize and swapping from
Letter to A4 "by hand"
Naturally I have tried to do this operation by recording a
macro, when I do and have swapped the paper size from A4 to
Letter and then in another macro swapped Letter to A4 I can
find nothing different in the two macros, the only
parameters that appear to have anything to do with paper
size are
PrintZoomPaperWidth:=0
PrintZoomPaperHeight:=0
Which always show 0
I would be pleased if you could offer suggestions as to why
the paper size reverts to Letter and why the instructions
in the macros are ignored. Also what parameters in the
Print/Properties/Advanced/Papersize group control the paper
size.
Regards
Tony
Tony Beckett - Rutland, UK
The NOSPIN Group has added a new feature on our website,
web based bulletinboard for questions and answers:
Visit our sister website at http://nospin.com
|