PDA

View Full Version : Print


brm
02-26-2003, 12:43 PM
I use ME10 10.50 and have connected through net to two printers, an A4 and an A3.
How could I do for make to choose the printer in base to the format of the sketch automatically?
Thank you.

ChrisE
02-27-2003, 01:03 AM
Are you on UNIX :) or on Windows :( ?

brm
02-27-2003, 06:29 AM
I work in windows NT.

John Scheffel
02-27-2003, 09:08 AM
I'm not sure I understand the question. Do you want ME10 to automatically select a printer based on the size of the drawing border? Or do you want the printer settings to default to the correct paper size when the printer selected?

ChrisE
02-27-2003, 03:26 PM
Starting ME 11.00, it would be no problem to directly access the printer and the format settings from within ME10.

But as you are running on ME10.50, I'd recommend to use an extension DLL to ME10 (originally written by some former HP/ME10 support specialist):

http://www.t-online.de/home/giessmann/meprint.exe

Leaving it up to you finding out how to install/customize this unsupported, yet powerful tool.

Someone interested into the ME10 11.x solution ?

brm
02-28-2003, 12:16 PM
Yes I want ME10 to automatically select a printer based on the size of the drawing border.It's possible?
For example if the drawing is A4,ME 10 select the A4 printer or if the drawing is A3,ME10 select the A3 printer.
Thank you.

John Scheffel
02-28-2003, 12:36 PM
Originally posted by brm
Yes I want ME10 to automatically select a printer based on the size of the drawing border.It's possible?
I don't know of any built in way to do this, but in ME10 just about anything is possible if you are willing to write a custom macro to do it. I have never written a macro like this but can provide a few tips.

The macro would have to somehow be able to detect the size or type of your border. You might be able to do a viewport fit then determine the size of the viewport using INQ_ENV and INQ commands. See Help Contents for more details on this command. Another option would be to place some identifying text or Info on your borders which indicates the size.

Once you have determined the size, you will have to set the printing options for that printer. The information in this thread (http://www.cocreateusers.org/forum/showthread.php?s=&threadid=74) should help with this.

ChrisE
02-28-2003, 03:04 PM
Originally posted by brm
Yes I want ME10 to automatically select a printer based on the size of the drawing border.It's possible?
For example if the drawing is A4,ME 10 select the A4 printer or if the drawing is A3,ME10 select the A3 printer.
Thank you.

Using INQ_ENV 7 (?) or INQ_PART "/", you can determine the size of your top part by using INQ 101 and INQ 102. This will give you the overall size of the drawing. Don't forget to include the global drawing scale into your calculation. Then combining the information provided by John in his previous reply, you could write a macro to automatically select the appropriate printer.

I'm in the moment of leaving for a week of snowboarding :D, so I can't give a more detailed solution right away (my home PC doesn't have any CoCreate stuff installed) - I'll be back on Monday 10th, and can give you a macro solution by then (being in the office)

Chris :cool: