Trace postscript file path
Hi scripters,
While printing postscript file from indesign, I need to trace the postscript file where its creating. This can be possible by javascript?
Thanks
regards
a r u l
Almost certainly not, but what do you mean by "trace"?
Similar Messages
-
Hi,
I have traced one program using st12 Tcode. I need to down load that trace file to my local syste.
can anyone give the Trace files path.
My SAP is working on AIX.
Advace thanks
KishoreHi Krishna
The ST12 traces are stored in Database unlike ST05 SQL trace.
For detailed information on the same, please refer SAP note number 755977, which states same with complete information.
Hope this helps.
If yes, please reward points.
Regards
Rahul -
Page orientation when combining multiple postscript files to a pdf file
Hi
I'm having problems with the orientation of my pages when I generate pdf's from multiple postscript files.
I have 3 postscript files that need to be merged into 1 pdf, and they contain a mixture of portrait and landscape pages.
To create the pdf, I use the following code (because i have lots and lots of pdf files to produce)...
/prun { /mysave save def
dup = flush
RunFile
clear cleardictstack
mysave restore
} def
(D:/example/fileA.ps) prun
(D:/example/fileB.ps) prun
(D:/example/fileC.ps) prun
... however, when I run the above code (by saving the text file into the /in directory of a watched folder), whilst I get a pdf, the page orientation isn't right. For some reason, the first few pages are oriented correctly, then after about page 7 everything is portrait no matter what.
The funny thing is, when I simply double-click on one of the postscript files (eg. fileA.ps), distiller changes it to pdf and the orientation is perfect for each file separately (fileA, fileB, fileC). Even when I run the above code for just one ps file it works. But as soon as I put all 3 sub-files together it doesn't orient properly.
I've tried activating and de-activating auto-rotate in the PDF settings, as well as the DSC options in the Advanced tab, and whilst these changes do affect the pdf I get when I simply double-click a certain postscript file, it seems to have no effect when I try to combine the 3 files with the code above. I still end up with the first few pages oriented correctly, then after about page 7 everything is portrait.
Hope someone can help.
DannyOk i successfully generated my PDF files.
Now I'm having difficulties merging them. I use a DDX file named LiveCycleInput.ddx
What I do (everything in LiveCycle Workbench):
1) FileReader to open the .ddx file as a document (successfully)
2) Store the read document in a process variable (successfully)
3) Assembler.invokeDDX with following arguments:
Document DDX = process variable (read in 2)
OutputResult = "AssemblerResult" processVariable which has type AssemblerResult as specified by the documentation
Errorlog
Everytime I run the process I get the following stacktrace in my server's logfile:
... 119 more
Caused by: com.adobe.internal.pdfm.CollateralNotFoundException: DDXM_S14017: A <PDF> source document is required, but no documents were found for {PDF source="testFileDoc.doc.pdf" baseDocument="true"}.
at com.adobe.internal.ddxm.ddx.pdf.PDFSource.getOrderedInputDocs(PDFSource.java:595)
at com.adobe.internal.ddxm.blueprint.pdf.SourceSegment.addDocumentsForAssembly(SourceSegment .java:91)
... 125 more
The .ddx file is stored in the same path as my generated .pdf files are stored.
Content of my DDX file (full copy paste)
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="testFileMerged.pdf">
<PDF source="testFileDoc.doc.pdf"/>
<PDF source="testFileJpg.jpg.pdf"/>
<PDF source="testFileOdt.odt.pdf"/>
</PDF>
</DDX>
Note that the DDX file is read from a network drive(!!) the source PDF files are in the same folder as the ddx file (hence no further path-links).
Adding network paths to the source & result pdfs does not change a thing.
All PDF Files apart from the result pdf fiile are present in that same folder
I consulted the DDX reference multiple times and this is the simplest ddx that should work ... but it doesnt.
Can anyone help me? -
Hi, everybody!
Can somebody explain, is there any chance of getting file
path working with FileReferenceList?
This is the code:
var listener
bject = new Object();
listener.onSelect = function(fileRefList:FileReferenceList) {
trace("onSelect");
var arr:Array = fileRefList.fileList;
for(var i:Number = 0; i < arr.length; i++) {
trace("name: " + arr
.name);
I copied this code from Flash8 Documentation.
I can get here only file name.
Any different solution is also very acceptable.
Thanks.I have the same problem i tried looking at the filereference
interface file no clues there ill be keeping an eye out for a
solution the only one i could think of was returning the values
from php by saving them to a database when the fileis uploaded but
this just isnt as good because its not fully local -
File path applescript broken after snow leopard
I was using this script in illustrator cs4 on a mac running 10.5 and all was good
tell application "Adobe Illustrator"
activate
set theName to name of current document
set theNamecount to count of theName
set thePath to the file path of current document as string
set pathCount to count of thePath
set pathCount to (pathCount - theNamecount)
set newPath to (text 1 thru pathCount of thePath)
set newName to "Die for " & theName
set finalPath to newPath & newName
save current document in file finalPath as eps ¬
with options ¬
{class:EPS save options, compatibility:Illustrator 8, preview:color Macintosh, embed linked files:true, include document thumbnails:true, CMYK PostScript:true, PostScript:level 2, embed all fonts:true}
beep 2
activate
end tell
Then I upgraded to Snow Leopard now when i run the script I get this message
error "Can’t make «data fss 9CFF84A2B8001F4F75747369646520436F7665722046696E616C2031234238413241332E61690000000064E76 706D8298F1EE9D902207CE1FFBF28E1FFBF88578F1EE9D90220» into type string." number -1700 from «data fss 9CFF84A2B8001F4F75747369646520436F7665722046696E616C2031234238413241332E61690000000064E76 706D8298F1EE9D902207CE1FFBF28E1FFBF88578F1EE9D90220» to string
Thanks in advance.
RodG'day Rod
Your script returns...
error "Can’t make POSIX path of «data fss 9CFF6D0609001B33303234302D3930343537205B436F6E7665727465645D2E657073CDCC00000001616946532 3ECF0381D9748CC1D5E0A34BFFFCE70636F72650000000A033B» into type string." number -1700 from POSIX path of «data fss 9CFF6D0609001B33303234302D3930343537205B436F6E7665727465645D2E657073CDCC00000001616946532 3ECF0381D9748CC1D5E0A34BFFFCE70636F72650000000A033B» to string
I'm running an intel iMac, so perhaps it's something to do with that.
I'm now using this very cumbersome approach...
on FetchFileContainer()
tell application "Adobe Illustrator"
set fp to do javascript "activeDocument.path"
end tell
set fp to my convertString(fp, "%20", " ") as text
set newerPath to (POSIX file fp) as text
set newerPath to newerPath as text
if "Desktop" is in newerPath then
set newerPath to newerPath & ":"
repeat 3 times
set o to offset of ":" in newerPath
try
set newerPath to items (o + 1) thru end of newerPath as text
on error
if newerPath = "Desktop:" then set newerPath to ""
end try
end repeat
set ptd to path to desktop as text
set newerPath to ptd & newerPath
end if
set C to newerPath
if "desktop" is not in newerPath then
set o to offset of ":" in newerPath
set newerPath to items (o + 1) thru end of newerPath as text as alias
tell application "Finder"
try
set C to container of (newerPath)
end try
end tell
end if
return C as text
end FetchFileContainer
on convertString(tString, ToFind, Tochange)
set {oAStid, AppleScript's text item delimiters} to {AppleScript's text item delimiters, ToFind}
set tString to text items of tString
set AppleScript's text item delimiters to Tochange
set tString to tString as string
set AppleScript's text item delimiters to oAStid
return tString
end convertString -
Obtaining the full file path specification from Flash Movie and QuickTime icons?
How do you obtain the full file path specification from Flash
Movie and QuickTime icons? I want the path and the file name that
is contained in these icons. I am using a "dive" to run through the
icons of a file, and when I come upon these two types of icons, I
want to obtain the above information that is contained in them. I
certainly can look in the property dialog box to get this info, but
there are many icons in these files, and I want to generate a list
of info based upon the various types of icons that I am processing.
Thanks> How do you obtain the full file path specification from
Flash Movie and
> QuickTime icons? I want the path and the file name that
is contained in
> these
> icons. I am using a "dive" to run through the icons of a
file, and when I
> come
> upon these two types of icons, I want to obtain the
above information that
> is
> contained in them. I certainly can look in the property
dialog box to get
> this
> info, but there are many icons in these files, and I
want to generate a
> list of
> info based upon the various types of icons that I am
processing. Thanks
>
For Flash
Trace(GetIconProperty(iconID, #pathName))
for QuickTime
Trace(GetIconProperty(IconID, #filename))
For full scripting reference for each of these sprites, open
up the
Properties panel for each sprite and press the Help button
that appears on
the properties page ... or else navigate to these folders for
the Flash and
QT help
C:\Program Files\Macromedia\Authorware
7.0\xtras\FlashAsset\Help
C:\Program Files\Macromedia\Authorware
7.0\xtras\QuicktimeAsset\Help
You don't want to know how many times I asked Macromedia to
stop hiding that
Help!
Steve
http://twitter.com/Stevehoward999
Adobe Community Expert: eLearning, Mobile and Devices
European eLearning Summit - EeLS
Adobe-sponsored eLearning conference.
http://www.elearningsummit.eu -
Media file path in IP IVR - Run external VRU script
Hi all,
I am configuring ICM script by using run external vru script which is located in IP IVR server. But, I am not sure how pass media file path from ICM script to VRU script.
Last time, I used IVR version 7.0. I set the path such as: c:\MediaServer\english. Now, I am running IVR version 10 with en_US language.
Any advise?
ThucHi,
I try to your guide but still silent. Log file is:
01 15:10:42.398 ICT %MIVR-SS_CMT-7-UNK:init:: flushDTMF=true DTMFBuffer.size=0
344389: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-PROMPT_ERROR_IGNORED:Prompt error ignored: Exception=com.cisco.prompt.UndefinedPromptException: unable to append prompt: Vietnamese\Loichao.wav; nested exception is:
java.io.IOException: file not found: Vietnamese\Loichao.wav
344390: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-EXCEPTION:com.cisco.prompt.UndefinedPromptException: unable to append prompt: Vietnamese\Loichao.wav; nested exception is:
344391: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: java.io.IOException: file not found: Vietnamese\Loichao.wav
344392: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.prompt.FilePrompt.appendTo(FilePrompt.java:229)
344393: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.prompt.DocumentPrompt.appendTo(DocumentPrompt.java:264)
344394: Apr 01 15:10:42.398 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.prompt.ConcatenatedPrompt.appendTo(ConcatenatedPrompt.java:169)
344395: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTDialogImpl.appendPrompt(CMTDialogImpl.java:165)
344396: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTDialogImpl.playCompositePrompt(CMTDialogImpl.java:140)
344397: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTDialogImpl.playInitialPrompt(CMTDialogImpl.java:110)
344398: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTDialogImpl.playPrompt(CMTDialogImpl.java:92)
344399: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTSimpleRecognitionDialogImpl.dialogLoop(CMTSimpleRecognitionDialogImpl.java:109)
344400: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.cmt.dialogs.CMTSimpleRecognitionDialogImpl.run(CMTSimpleRecognitionDialogImpl.java:87)
344401: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.ApplicationManagerImpl$TaskImpl$ActionImpl.run(ApplicationManagerImpl.java:7757)
344402: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.ApplicationManagerImpl$TaskImpl.doInterruptible(ApplicationManagerImpl.java:7560)
344403: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.dialog.DialogObjectImpl.invoke(DialogObjectImpl.java:632)
344404: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.steps.ivr.MenuStep.execute(MenuStep.java:394)
344405: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFBeanStep.executeImpl(WFBeanStep.java:141)
344406: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFStep.execute(WFStep.java:174)
344407: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFWorkflowTask.executeStep(WFWorkflowTask.java:494)
344408: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.WFEngineWorkflowTask.executeStep(WFEngineWorkflowTask.java:122)
344409: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.WFWorkflowAppDebugTaskWrapper.executeStep(WFWorkflowAppDebugTaskWrapper.java:416)
344410: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.obj.WFWorkflowTask.execute(WFWorkflowTask.java:360)
344411: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.WFEngineWorkflowTask.execute(WFEngineWorkflowTask.java:77)
344412: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.WFWorkflowAppDebugTaskWrapper.execute(WFWorkflowAppDebugTaskWrapper.java:736)
344413: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager.runTaskNormally(TaskManager.java:416)
344414: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager.runTask(TaskManager.java:371)
344415: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.Invoker.invoke(Invoker.java:85)
344416: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.ApplicationManagerImpl$TaskImpl.subinvoke(ApplicationManagerImpl.java:4658)
344417: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.ApplicationManagerImpl.subinvoke(ApplicationManagerImpl.java:2204)
344418: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.Application.subinvoke(Application.java:276)
344419: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.subsystems.ged125.ICMApplication.invokeWorkflow(ICMApplication.java:154)
344420: Apr 01 15:10:42.399 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.subsystems.ged125.ICMApplicationTask.invokeWorkflow(ICMApplicationTask.java:684)
344421: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.subsystems.ged125.ICMApplicationTask.runScript(ICMApplicationTask.java:1382)
344422: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wf.subsystems.ged125.ICMApplicationTask.execute(ICMApplicationTask.java:2468)
344423: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.app.impl.WFAppTaskWrapper.execute(WFAppTaskWrapper.java:291)
344424: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager.runTaskNormally(TaskManager.java:416)
344425: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager.runTask(TaskManager.java:371)
344426: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.wfframework.engine.core.TaskManager$RunnableTask.run(TaskManager.java:589)
344427: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.runCommand(ExecutorStubImpl.java:690)
344428: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:486)
344429: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:762)
344430: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:776)
344431: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.executor.impl.PooledExecutorStubImpl$1$WorkerImpl.run(PooledExecutorStubImpl.java:99)
344432: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.util.ThreadPoolFactory$ThreadImpl.run(ThreadPoolFactory.java:853)
344433: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: nested stack trace is:
344434: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: java.io.IOException: file not found: Vietnamese\Loichao.wav
344435: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.prompt.FilePrompt.appendTo(FilePrompt.java:229)
344436: Apr 01 15:10:42.400 ICT %MIVR-LIB_MEDIA-3-EXCEPTION: at com.cisco.prompt.DocumentPrompt.appendTo(DocumentPrompt.java:264) -
How to trace the files in macbook without spotsearch?
Hi,
By mistake i dragged one folder from favorites and it vanishes and while using spotsearch i m not able to trace the files. Hence please suggest how we can search it?
OS used is OS X Yosemite.See if you can find the file using this program. If you go Finder/View/Show Path Bar, it will show you where it is located.
EasyFind – Spotlight Replacement -
Print list showing graphics used with file paths
My company is in the process of remapping the graphics on a shared network and I need to go through and make a list of all grphics used in publications along with their filename/path. Hoping there is some plug-in or feature that I can use to create a report that lists this information vs. looking at the options in the links manager and writing things down by hand. Any suggestions? I see the information in a .ps (postscript file) however it's cluttered with everything else. Can I somehow use the ps file and extract only the directory extenstions and filenames/paths.
FYI I'm working in Pagemaker 6.5 on Windows XP. I can get a report that lists the graphics if I package for Service Provider - unfortunately it doesn't list where the original graphics were located simply the directory it was saved to for teh service provider.
-
Putting CJK text into PostScript file
Our application, as one of several export options, generates PostScript files. We recently added support for UNICODE text to the application - all internal text is utf16. I am having trouble exporting asian (CJK) fonts correctly. Before the switch to UNICODE we supported ShiftJIS for Japanese. I know that PS does not directly support UNICODE. So, my question is, what is the best way to proceed given the facts that I have UNICODE text and I must generate a correct PS file which will display that text?
To my pea-sized brain, it looks like there are two possible paths...
1. Convert the utf16 to ShiftJIS (or whatever code page is required) and export as before? This seems doable, but strikes me as a hack since I would need to look at each code point and figure out which code page it is related to.
2. Re-encode the font? But how? I've looked at documentation for CID-keyed fonts and some sample code for re-encoding, but I admit that I have not yet had an aha! moment. I'm not even sure if I'm looking at the correct stuff.
Also, do we need to embed the font(s)? (I realize that CJK fonts can be large, but file size is not a major consideration.)
Thanks for any help.At this point embedding & reencoding appear to be more advantageous from what I understand of your project.
I have written PostScript drivers that embed Type 1 format fonts by converting the binary printer font (.pfb) file into a 7-bit ascii PostScript file and inserting that in the PostScript output stream. The font just needs to be inserted so that it is available in the context of when it will be used (ie. before font use and same or more significant save/restore level.
I have also reencoded font characters within a PostScript job in order to access special characters that didn't exist in an EBCDIC character table using octal codes, but I'm not sure if this will suit your solution 2 or not.
Code sourced probably sourced from Adobe Developer Kit of many years ago:
/reencsmalldict 12 dict def
/ENC
{reencsmalldict begin
/newcodesandnames exch def
/newfontname exch def
/basefontname exch def
/basefontdict basefontname findfont def
/newfont basefontdict maxlength dict def
basefontdict
{exch dup /FID ne
{dup /Encoding eq
{exch dup length array copy newfont 3 1 roll put}
{exch newfont 3 1 roll put}
ifelse
{pop pop}
ifelse
}forall
newfont /FontName newfontname put
newcodesandnames aload pop
newcodesandnames length 2 idiv
{newfont /Encoding get 3 1 roll put}
repeat
newfontname newfont definefont pop
end
} def
/EVEC [
8#030 /mu
8#031 /eth
8#032 /Yacute
8#033 /brokenbar
8#034 /onehalf
8#200 /Aacute
8#201 /Acircumflex
8#202 /Adieresis
8#203 /Agrave
8#204 /Aring
8#205 /Atilde
8#206 /Ccedilla
8#207 /Eacute
8#210 /Ecircumflex
8#211 /Edieresis
8#212 /Egrave
8#213 /Iacute
8#214 /Icircumflex
8#215 /Idieresis
8#216 /Igrave
8#217 /Ntilde
8#220 /Oacute
8#221 /Ocircumflex
8#222 /Odieresis
8#223 /Ograve
8#224 /Otilde
8#225 /Scaron
8#226 /Uacute
8#227 /Ucircumflex
8#230 /Udieresis
8#231 /Ugrave
8#232 /Ydieresis
8#233 /Zcaron
8#234 /copyright
8#235 /registered
8#236 /trademark
8#237 /aacute
8#240 /acircumflex
8#260 /adieresis
8#265 /agrave
8#276 /aring
8#300 /atilde
8#311 /ccedilla
8#314 /eacute
8#321 /ecircumflex
8#322 /edieresis
8#323 /egrave
8#324 /iacute
8#325 /icircumflex
8#326 /idieresis
8#327 /igrave
8#330 /ntilde
8#331 /oacute
8#332 /ocircumflex
8#333 /odieresis
8#334 /ograve
8#335 /otilde
8#336 /scaron
8#337 /uacute
8#340 /ucircumflex
8#342 /udieresis
8#344 /ugrave
8#345 /ydieresis
8#346 /zcaron
8#347 /logicalnot
8#354 /minus
8#355 /threesuperior
8#356 /thorn
8#357 /twosuperior
8#360 /yacute
8#362 /threequarters
8#363 /Eth
8#364 /onequarter
8#366 /Thorn
8#367 /divide
8#374 /plusminus
8#375 /multiply
8#376 /onesuperior
8#377 /degree
] def
/WE {EVEC ENC}def
/HLN {/HLNWE findfont}bind def
/Helvetica-Narrow /HLNWE WE -
Postscript file with the RUN command
I have inherited some code that I'm trying to fix. The postscript file contains a 'RUN' command. When I try to open the file, I get the error unable to recognize the command. Understandable since that command does not reside on my server. It resides on a UNIX box which controls the printer. However when I try to print the file to the printer nothing happens. Neither is the command run and the results printed out nor the contents of .PS file is printed. Please help.
I have included an old PostScript program I wrote from the early 1990's that will print a directory of the interpreter's file system, which is a good place to start.
If there are no files matching the string FG530 then you are out of luck, unless you can find it and download it to the PostScript file system again.
I added the commented lines about file paths and the included image is of the first page of the generated output:
%!PS-Adobe
%%Creator: Marvin R. Horton, Macore Company, Inc.
%%BeginProc:
/Buff 100 string def /Wipe 100 string def
/Rebuff {Buff 0 Wipe putinterval} def
/startpage {18 756 moveto gsave (P O S T S C R I P T F I L E S Y S T E M D I R E C T O R Y ) show 400 0 rlineto .5 setlinewidth stroke
grestore 0 -6 rmoveto}def
/Dir {0 -6 rmoveto gsave Buff show Rebuff grestore
currentpoint 6 sub 30 lt{450 eq{showpage startpage}{144 720 rmoveto}ifelse}if }def
%%EndProc:
/Courier findfont 6 scalefont setfont
startpage
(*) {Dir} Buff filenameforall
%%How to get file list from a subdirectory of...: (fonts/*) {Dir} Buff filenameforall
%%How to get file list within specific naming "FG...": (FG???) {Dir} Buff filenameforall
showpage -
Search c:\ drive and return file path for winword.exe and save as variable
Hi all, here is what I'm trying to do;
1. Search C:\ drive for winword.exe
2. take the file path and save it as a variable.
3. Then based on the path value, use the switch statement to run "some command"
Essentially I'm trying to find what the file path for winword.exe is, then run a command to modify the registry. I already have the script that will modify the registry like I want but the problem it, the path is hard coded in the script, I want to
now look for all versions of word and set the right file path so I can make the right registry changes.This should get you started:
http://ss64.com/ps/get-childitem.html
Don't retire TechNet! -
(Don't give up yet - 13,085+ strong and growing) -
What is a Logical and Physical file path in sap?
what is a Logical and Physical file path in sap?
Hi,
Physical file is what you see from the OS level.
Logical file is what ABAP code can call certain functions to read/write.
Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
To extract the physical path from the logical path name
DATA: lf_mandt TYPE sy-mandt,
lf_opsys TYPE sy-opsys.
lf_mandt = sy-mandt.
lf_opsys = sy-opsys.
To extract the physical path from the logical path name
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
client = lf_mandt
logical_filename = p_unix
operating_system = lf_opsys
IMPORTING
file_name = gwa_input
EXCEPTIONS
file_not_found = 1
OTHERS = 2.
IF sy-subrc EQ 0.
Concatenating the physical path and the input unix file name
CONCATENATE gwa_input p_file INTO gf_file .
ENDIF.
Reward if helpful.
Regards,
Ramya -
Application server file path vaidation
I have written the code for application server file path validation.
DATA : l_fname TYPE filename-fileintern." type c.
DATA : l_filpath TYPE filename-fileintern,
l_filname(40) TYPE c.
PARAMETER : p_sucfil LIKE rfpdo-rfbifile OBLIGATORY. " rlgrap-filename
AT SELECTION-SCREEN ON p_sucfil.
l_fname = p_sucfil.
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
CLIENT = SY-MANDT
logical_filename = l_fname
OPERATING_SYSTEM = SY-OPSYS
PARAMETER_1 = ' '
PARAMETER_2 = ' '
PARAMETER_3 = ' '
USE_PRESENTATION_SERVER = ' '
WITH_FILE_EXTENSION = 'X'
USE_BUFFER = ' '
ELEMINATE_BLANKS = 'X'
IMPORTING
EMERGENCY_FLAG =
FILE_FORMAT =
FILE_NAME = l_filpath
EXCEPTIONS
FILE_NOT_FOUND = 1
OTHERS = 2
IF sy-subrc <> 0.
message 'Invalid file name' type 'E'.
ENDIF.
But always i will get Invalid file name.
Y is it so.
pls help me.Praveen,
I have checked ur code and I found that if i give a logical file name from
tran. FILE under folder 'Logical file name definition, cross client' then ur code works. Pl. check.
Regards,
Joy.
DATA : l_fname TYPE filename-fileintern." type c.
DATA : l_filpath TYPE filename-fileintern,
l_filname(40) TYPE c.
PARAMETER : p_sucfil LIKE rfpdo-rfbifile OBLIGATORY. " rlgrap-filename
AT SELECTION-SCREEN ON p_sucfil.
l_fname = p_sucfil.
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
logical_filename = l_fname
operating_system = sy-opsys
with_file_extension = 'X'
IMPORTING
file_name = l_filpath
EXCEPTIONS
file_not_found = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE 'Invalid file name' TYPE 'E'.
ENDIF. -
'F4_FILENAME'. USER FILE PATH
when I used the following function module for user defined file path selection
parameters: p_file like rlgrap-filename.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
IMPORTING
FILE_NAME = P_FILE.
I am getting the follwing Dump error.
Exception condition "NO_FIELDCATALOG_AVAILABLE" raised.
Could any one help me correcting problem ?Try this.
report zrich_0001.
data: ifiletable type filetable.
data: xfiletable like line of ifiletable.
data: rc type i.
parameters: p_file1 type localfile default'C:test.txt'.
at selection-screen on value-request for p_file1.
call method cl_gui_frontend_services=>file_open_dialog
EXPORTING
* WINDOW_TITLE =
* DEFAULT_EXTENSION =
* DEFAULT_FILENAME =
* FILE_FILTER =
INITIAL_DIRECTORY = 'C:'
* MULTISELECTION =
changing
file_table = ifiletable
rc = rc
* USER_ACTION =
EXCEPTIONS
FILE_OPEN_DIALOG_FAILED = 1
CNTL_ERROR = 2
ERROR_NO_GUI = 3
others = 4.
read table ifiletable into xfiletable index 1.
if sy-subrc = 0.
p_file1 = xfiletable-FILENAME.
endif.
Regards,
RIch Heilman
Maybe you are looking for
-
Here is the Error Message: Date/Time: 2009-01-13 22:53:33.393 -0500 OS Version: 10.5.5 (Build 9F33) Report Version: 4 iChat Connection Log: 2009-01-13 22:53:12 -0500: AVChat started with ID 886999360. 2009-01-13 22:53:12 -0500: squidmanlaptop: State
-
All my contact are being copied to my friend's iphone and i also am getting his contacts on my phone,when i delete a contact it also deletes it from his phone,we are sharing the same apple ID. How can i stop our contacts from being shared between us
-
I have downloads available that I would like to delete without downloading. I tried deleting from the downloads, but they keep reappearing. They are for a TV series that was unintentionally purchased (for free), and to download would occupy loads o
-
I did an IOS update and now my iPad is stuck in recovery mode and I can't get it out. I have tried to restore through iTunes, but after restore it says it is still in recovery mode. Please help!
-
Ghost Email, new mail sound and no mail, quite often
I have a two part question: I get the new mail sound with the activity next to a mail box but quite often no mail. Sometimes I'll check online to see mail which I haven't gotten on my computer. I play with the Junk Mail settings, which I do not use.