• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    Distinguished Contributor
    Posts: 389
    Registered: ‎09-23-2008

    Plot to a file share

    84 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"

    Please use plain text.
    Valued Contributor
    Posts: 85
    Registered: ‎07-25-2012

    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

    Please use plain text.
    Distinguished Contributor
    Posts: 389
    Registered: ‎09-23-2008

    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!

    Please use plain text.
    Valued Contributor
    Posts: 85
    Registered: ‎07-25-2012

    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

    Please use plain text.
    Distinguished Contributor
    Posts: 389
    Registered: ‎09-23-2008

    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.

     

    Please use plain text.
    Valued Contributor
    Posts: 85
    Registered: ‎07-25-2012

    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

    Please use plain text.
    Distinguished Contributor
    Posts: 389
    Registered: ‎09-23-2008

    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.

    Please use plain text.