Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CATOUT QUESTIONS

Status
Not open for further replies.

jagodragon

Automotive
Joined
Mar 2, 2009
Messages
61
Location
US
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
 
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...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top