Printing problem in Quark

Hi

I have this script to print from Quark which works fine:

tell application "QuarkXPress" 
tell print setup of document 1 
set separation to false 
set printer type to "HP Laserjet 8150 Series" 
set paper size to "A3" 
set orientation to portrait 
set bleed to "3" 
set page position to center horizontal 
set print spreads to false 
set reduce or enlarge to "100%" 
set registration marks to centered 
set tiling to off 
end tell 
print document 1 
end tell 

It works fine but if I change my default printer to something else eg. our canon colour printer, then the document prints from there instead.

If anyone can help it would be much appreciated

Kind Regards

Andrew

Model: mac g5
Browser: Safari 417.9.2
Operating System: Mac OS X (10.4)

Hi as per my experience:

You should have chnage the code like
set printer type to “cannon”

And make sure cnnon should be your default printer.

Thansk

Macrajeev