×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

CATOUT QUESTIONS

CATOUT QUESTIONS

CATOUT QUESTIONS

(OP)
I'm working on a Declaration script for a PDF plotter setting. I have it set fairly well i think but the %CATPRT_DOC_SHEET_NUM% and %CATPRT_DOC_SHEET_COUNT% do not return any thing.

CODE -->

set CATOUT=%CATPRT_DOC_PATH%\%CATPRT_DOC_NAME%_Sheet%CATPRT_DOC_SHEET_NUM%_of_%CATPRT_DOC_SHEET_COUNT%.pdf 

so it sould print

CODE -->

\\netpath\test.CATDrawing_Sheet1_of_5.pdf 

but instead i get

CODE -->

\\netpath\test.CATDrawing_Sheet_of_.pdf 


Any suggestion?

The full scrip is below:

CODE -->

rem Default: %CATPRT_DOC_PATH%\%CATPRT_DOC_NAME%_Sheet-%CATPRT_DOC_SHEET_NAME%_of_%CATPRT_DOC_SHEET_COUNT%%CATPRT_PRINTER_NAME%
if %CATPRT_DOC_SHEETS_COUNT%==1  goto OneSheet
    set CATOUT=%CATPRT_DOC_PATH%\%CATPRT_DOC_NAME%_Sheet-%CATPRT_DOC_SHEET_NAME%_of_%CATPRT_DOC_SHEET_COUNT%%CATPRT_PRINTER_NAME%
    goto End
:OneSheet
    set CATOUT=%CATPRT_DOC_PATH%\%CATPRT_DOC_NAME%%CATPRT_PRINTER_NAME%
:End 

RE: CATOUT QUESTIONS

(OP)
just wanted to bump this up while every one is active... I'm really hoping it's an easy fix and i'm just missing some thing...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources