One or more margins are outwith the printable page

C

Colin Graham

Our GFI Faxmaker service is printing .rtf documents through to the Faxmaker
print driver as a service and occasionally comes accross a document with 'One
or more margins are outwith the printable page' as it's the service thats
controlling it, there is no warning box displayed and hence no buttons to
allow the process to continue. This causes the whole process to hang and the
faxserver falls over. Can anyone offer any advice of a fix or workaround that
we are missing?
Kind thanks in advance.
Colin
 
P

Peter Jamieson

Just some suggestions:

1. Can you set the Word Application object's DisplayAlerts property? e.g.

Application.DisplayAlerts = wdAlertsNone

Does that make any difference?

2. Can you programmatically inspect the page layout properties in

ActiveDocument.PageSetup

and, for example, reject documents whose page size and/or margins do not
match your fax print driver's settings (or perhaps even programmatically
adjust the driver settings to suit) ?

3. (never tried it, but could be worth investingating...)

If you are using Office 2003, you could consider printing to the Microsoft
Office Document Imaging printer driver - it does not seem to care what page
size or margins were specified in Word, so the print should always work.
Then you can automate the MODI object to inspect it and/or print it.

If any of the above work for you, can you please let us know?

Peter Jamieson
 
P

Peter Jamieson

Thinking about it again, suggestion (3) is highly unlikely to work in a
merge-to-fax operation.

Peter Jamieson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top