+ Reply to Thread
Results 1 to 6 of 6

Thread: Alternate to "?

  1. #1
    Forum Newbie
    Using
    Mechanical 2006
    Join Date
    Jul 2009
    Posts
    3

    Default Alternate to "?

    Registered forum members do not see this ad.

    I have Print script that I am trying to add a new printer too but the paper size callout uses inch marks so when I use a quotes for the command it fails. Is there another way to make it read the name? I have tried the pipe symbol with no success. Any suggestions

    "-plot" "Yes" "" "ECFMT-PRN07.pc3" "Letter (8.5" x 11")" "I" "L" "No" "Extents" "FIT" "0,0" "Yes" "AD_KPUS_sizeC-E_HPGL2.ctb" "Yes" "No" "No" "No" "No" "No" "Yes")

  2. #2
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    15,743

    Default

    Use a backslash (a character escape sequence) to preceed the quote symbol, so that it may be interpretted literally.

    See here
    http://www.lucersoft.com/HBEPRODOC/S...eSequences.php
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

  3. #3
    Forum Deity
    Using
    AutoCAD 2009
    Join Date
    Oct 2008
    Posts
    2,112

    Default

    Quote Originally Posted by Chazb2 View Post
    I have Print script that I am trying to add a new printer too but the paper size callout uses inch marks so when I use a quotes for the command it fails. Is there another way to make it read the name? I have tried the pipe symbol with no success. Any suggestions

    "-plot" "Yes" "" "ECFMT-PRN07.pc3" "Letter (8.5" x 11")" "I" "L" "No" "Extents" "FIT" "0,0" "Yes" "AD_KPUS_sizeC-E_HPGL2.ctb" "Yes" "No" "No" "No" "No" "No" "Yes")

    Try:
    "Letter (8.5\" x 11\")" or "Letter (8-1/2\" x 11\")"

  4. #4
    Forum Newbie
    Using
    Mechanical 2006
    Join Date
    Jul 2009
    Posts
    3

    Default

    Perfect! Thank you for your help!

  5. #5
    Senior Member
    Using
    AutoCAD 2007
    Join Date
    Jan 2007
    Posts
    159

    Default

    ..chr(34)?

  6. #6
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    15,743

    Default

    Registered forum members do not see this ad.

    Perhaps, but if it is a script he is working on, perhaps he wants it to work in LT also
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

Similar Threads

  1. alternate keys instead of standard
    By puckineh70 in forum AutoCAD General
    Replies: 10
    Last Post: 23rd Jul 2009, 11:30 pm
  2. Alternate units
    By Enigma in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 2
    Last Post: 2nd Apr 2009, 05:51 pm
  3. dim alternate units under dim line
    By enemigoman in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 12
    Last Post: 2nd May 2008, 03:44 pm
  4. Dimensioning-Alternate Dimensions
    By east§ide in forum AutoCAD Beginners' Area
    Replies: 7
    Last Post: 1st Nov 2007, 06:50 pm
  5. Lining up Alternate Dimensions
    By Luvrbcs in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 14th Jul 2006, 09:15 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts