Visual LISP, AutoLISP and General Customization

Reply
Distinguished Contributor
BillZndl
Posts: 393
Registered: ‎09-23-2008
Message 1 of 7 (167 Views)

Plot to a file share

167 Views, 6 Replies
10-03-2012 11:30 AM

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"

Valued Contributor
Rick-K
Posts: 85
Registered: ‎07-25-2012
Message 2 of 7 (164 Views)

Re: Plot to a file share

10-03-2012 11:47 AM 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

Distinguished Contributor
BillZndl
Posts: 393
Registered: ‎09-23-2008
Message 3 of 7 (157 Views)

Re: Plot to a file share

10-03-2012 12:17 PM 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!

Valued Contributor
Rick-K
Posts: 85
Registered: ‎07-25-2012
Message 4 of 7 (155 Views)

Re: Plot to a file share

10-03-2012 12:22 PM 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

Distinguished Contributor
BillZndl
Posts: 393
Registered: ‎09-23-2008
Message 5 of 7 (148 Views)

Re: Plot to a file share

10-03-2012 12:48 PM 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.

 

Valued Contributor
Rick-K
Posts: 85
Registered: ‎07-25-2012
Message 6 of 7 (145 Views)

Re: Plot to a file share

10-03-2012 12:52 PM 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

Distinguished Contributor
BillZndl
Posts: 393
Registered: ‎09-23-2008
Message 7 of 7 (137 Views)

Re: Plot to a file share

10-03-2012 01:36 PM in reply to: Rick-K

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

Thanks.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community