Setting Printer Device from Menu

Discussion in 'AutoCAD' started by Max, Jul 10, 2004.

  1. Max

    Max Guest

    Hi

    What i am doing is trying write a menu item to Set the Printer device. What
    seems to be happening is it keeps stopping at the printer device entry.
    However, when I manually type all the correct verbage it works but it
    doesn't when i run the menu item.

    Here is my menu item;
    ID_MakeDefault1Printer [MakeYK Printer 11x17 DesignJet
    Default]^c^c-plot;y;MODEL;\\mainserver\ENG - LaserJet
    8150N;11x17;Millimeters;Landscape;No;Extents;1:2;18.06,4.06;Yes;MRE_B_Size_B
    _W.ctb;Yes;No;No;No;N;N;n;

    But here is my Command line

    Command: -plot
    Detailed plot configuration? [Yes/No] <No>: y

    Enter a layout name or [?] <Model>: MODEL
    Enter an output device name or [?] <\\mainserver\CAD - DesignJet 500PS>:

    .....It stops there.....its asking me for the Printer...but as you can see
    from above I am giving it a printer driver but for some reason it won't put
    it in.

    Any suggestion?

    Thanks for the help.
     
    Max, Jul 10, 2004
    #1
  2. Max

    John Schmidt Guest

    Does it make any difference if you enclose the printer name in quotes? Or
    you may have to use forward slashes, (/), instead of backslashes, since it's
    a menu item.

    John
     
    John Schmidt, Jul 11, 2004
    #2
  3. Max

    Max Guest

    Hi John

    It seem to of taken the / slashes and it looks like it took the path but
    when it contiunes on with the rest it crapped out at the next command...I
    also tried the " with the / and \ but no luck.. thanks for the help.
    here's what showed up

    Command: -plot
    Detailed plot configuration? [Yes/No] <No>: y

    Enter a layout name or [?] <Model>: MODEL
    Enter an output device name or [?] <\\mainserver\ENG - LaserJet 8150N>:
    //mainserver/ENG - LaserJet 8150N

    Command: 11x17
    Unknown command "11X17". Press F1 for help.

    Command: Millimeters
    Unknown command "MILLIMETERS". Press F1 for help.

    Command: Landscape
    Unknown command "LANDSCAPE". Press F1 for help.

    Command: No
    Unknown command "NO". Press F1 for help.

    Command: Extents
    Unknown command "EXTENTS". Press F1 for help.

    Command: 1:2
    Unknown command "1:2". Press F1 for help.

    Command: 18.06,4.06
    Unknown command "18.06,4.06". Press F1 for help.

    Command: Yes
    Unknown command "YES". Press F1 for help.

    Command: MRE_B_Size_B_W.ctb
    Unknown command "MRE_B_SIZE_B_W.CTB". Press F1 for help.

    Command: Yes
    Unknown command "YES". Press F1 for help.

    Command: No
    Unknown command "NO". Press F1 for help.

    Command: No
    Unknown command "NO". Press F1 for help.

    Command: No
    Unknown command "NO". Press F1 for help.

    Command: N
    Unknown command "N". Press F1 for help.

    Command: N
    Unknown command "N". Press F1 for help.

    Command: n
    Unknown command "N". Press F1 for help.
     
    Max, Jul 11, 2004
    #3
  4. Max

    John Schmidt Guest

    Hmmm...it looks like something is canceling the function at that point. I
    just tried it manually also with no problems, but I haven't tried a script
    yet. I'm not sure what's interrupting yours... Could you post the latest
    version of your menu script?

    John
     
    John Schmidt, Jul 12, 2004
    #4
  5. Max

    Max Guest

    sure...

    ^c^c-plot;y;MODEL;//mainserver/ENG - LaserJet
    8150N;11x17;Millimeters;Landscape;No;Extents;1:2;18.06,4.06

    and it errors out at

    Command: -plot
    Detailed plot configuration? [Yes/No] <No>: y

    Enter a layout name or [?] <Model>: MODEL
    Enter an output device name or [?] <\\mainserver\ENG - LaserJet 8150N>:
    //mainserver/ENG - LaserJet 8150N

    Command: 11x17
    Unknown command "11X17". Press F1 for help.

    Command: Millimeters

    etc......

    Thanks for the help.






     
    Max, Jul 12, 2004
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.