Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Plot to a file share

6 REPLIES 6
Reply
Message 1 of 7
BillZndl
395 Views, 6 Replies

Plot to a file share

R2012 win7

 

Can you plot to file using a "file share" location? i.e. \\\\bcnymfilp01\\Parts_Labels\\88881"

 

(vl-cmdf ".plot" "Y" "" "\\\\bcnymprtp01\\Proto Label Printer" "Legal" "I" "Landscape" "N" "E" "Fit" "C" "Y" "monochrome.ctb" "Y" "A" "Y" "N" "Y" "\\\\bcnymfilp01\\Parts_Labels\\88881" "Y" "Y")

 

Everything seems to run but when it comes to the plotting, AutoCAD crashes.

 

Findfile works fine:

Command: (findfile "\\\\bcnymfilp01\\Parts_Labels\\50981.plt")
"\\\\bcnymfilp01\\Parts_Labels\\50981.plt"

6 REPLIES 6
Message 2 of 7
Rick-K
in reply to: BillZndl

Is  "\\\\bcnymprtp01\\Proto Label Printer" the actual plot device?

 

Type -plot at the command line and step through, type ? at plot device and see if it shows up that way in the list.

 

I am betting all you need is "Photo Label Printer".

 

Also, you could try forward slashes in lieu of double back slashes.  i.e.  "//bcnymprtp01/Proto Label Printer"

I find them easier to read.

 

Rick

Message 3 of 7
BillZndl
in reply to: Rick-K

 

Okay,

The plotting to the Fileshare works using the "Letter" paper but not with "Legal" so it has to be something else.

I think it might have something to do with the default paper tray.

 

Thanks!

Message 4 of 7
Rick-K
in reply to: BillZndl

I would go to the plot dialog and plot manually.

 

Make sure you select "Save changes to layout".

 

Then type -plot at the command line goto detailed configuration, step through the defaults and see if it plots that way.

 

See what it says when it comes to the paper size.

 

Rick

Message 5 of 7
BillZndl
in reply to: Rick-K

Wow,

When I try plotting from the plot dialog and set the paper to "Legal" then hit preview,

it crashes AutoCAD just like the command line try does.

 

Message 6 of 7
Rick-K
in reply to: BillZndl

Ok, now we know that it is not a problem with your programing.

 

Legal is probably correct.

 

Maybe it is the driver for the printer and Autocad is having problems with it.

 

See if there is a driver update.

 

Thats all I got.  I dont have any other ideas.

 

Maybe someone else has.

 

Rick

Message 7 of 7
BillZndl
in reply to: Rick-K

You're right. It's a driver thing with win7.

Thanks.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost