새로운 Adobe 커뮤니티에 오신 것을 환영합니다.
A community for PostScript users.
최근 활동
Hello,I work with a large PaintProc and because of the limitation of stack, I want to split it and call exec on each line of PaintProc. I created a small example on which I'm testing my solution, but there is a problem which I cannot identify. Here is the example:%!PS-Adobe-3.0%%CreationDate: 2014-04-01T17:22:12%%LanguageLevel: 3%%Pages: 1%%BoundingBox: 0 0 596 843%%HiResBoundingBox: 0 0 595.224 842.04%%EndComments/filebuff 1024 string def/breakproc {{ currentfile filebuff readline pop (endbreak) search { pop pop pop exit } { cvx exec }ifelse} loop} bind def%%Page: 1 1%%PageBoundingBox: 0 0 595 842%%PageHiResBoundingBox: 0 0 595.224 842.04<</PageSize [595 842]/ImagingBBox null>> setpagedevice[1 0 0 -1 0 842.04] concat/MyForm:1<< /FormType 1 /
Salutations gentlemen.I'm trying to render a series of high precision lines, like those in a reticle. To that end, I'm attempting to control the rendering of the lines in device space. The issue I'm having at the moment is that I get lines that are one dot wider than expected, which I term overshoot. For example, if I use the following code fragment:72 100 div 1 scale[ 100 720 1 18 102 720 1 18 104 720 1 18 ] rectfillassuming an output device with a resolution that is a multiple of 100 (e.g. 300 dpi, 600 dpi, etc.) the resulting lines are one dot wider than I would expect. In the example, if rendered at 300 dpi, I would expect lines that are 3 dots wide separated by spaces 3 dots wide, but instead I get lines that are 4 dots wide with spaces that are 2 dots wide. I use rectfill here instead of lineto to avoid the path centering issue (the leading edge of the line begins at a specified coordinate and proceeds for the specified width). Also note that the length of the lines are not requi
HelloI search an "Nonzero winding rule" algorithm's realization. Can anyone explain how it is realized in PostScript? Where may I read about it ? Thanks for every help,Artur
HelloI search a good tool to write PostScript's lexical analyzer for Java. Can anyone suggest any existing tools ? Where can I find PostScript grammar? Thanks for every help,Artur
I've just started learning PostScript and I'm going through a couple tutorials. (I'm finding this frustrating since they either tend to take pages to get into things slowly or they assume I already know what they're talking about.)I've copied and pasted the text from http://www.cups.org/documentation.php/doc-1.5/spec-postscript.html into a file and saved it as a .ps file. I'm on the latest version of OS X (10.0.2). I've installed Ghostscript, but that does not seem to display output and when I've tried to write to png files, I don't get output. (I'm figuring Ghostscript must need a final "write to file" command to actually write to an output file, but finding a good Ghostscript command reference is hard.)So for now I'm stuck using the built in Preview on OS X, and that may be part of the problem.I've added this text:% Add some text/showGorilla % stack: x y ---{ moveto (Gorilla) show }def/Times-Roman findfont 6 scalefont setfont72 300 showGorilla/Times-Roman find
I have some old files I need to convert to pdfs. I think they're postscript files, but they have no extension. They were created on a Mac in 1991. %!PS-Adobe-2.0%%Title: ChtoCh 1-38 (WP)%%Creator: Works%%CreationDate: Saturday, November 9, 1991%%Pages: (atend)%%BoundingBox: ? ? ? ?%%PageBoundingBox: 18 8 594 784%%For: WTD%%IncludeProcSet: "(AppleDict md)" 68 0%%EndComments%%EndProlog%%BeginDocumentSetupmd beginI'm currently running OSX 10.8.5 I tried to open them with Distiller and Acrobat Pro. I also tried adding the .ps extension to them. Got this error:Acrobat Distiller 10.1.9Started: Friday, February 21, 2014 at 2:39 AMAdobe PostScript software version: 3018.101CID support library initialization completed.Error in /Library/Application Support/Adobe/Adobe PDF/Settings/PDFX4 2008.joboptions:/CheckCompliance out of rangeDistilling: PostScript II POP 23-41Start Time: Friday, February 21, 2014 at 2:41 AMSource: /Downloads/Old Mac DD floppi
Is there a way to test a PostScript printer's default timeout limit?
Hi, I have a PDF file with two kinds of pages: text and labels. I want to print the text pages on paper from a specific printer tray and the labels to another. I was thinking that the right way to do this was to create a PS file from that PDF and edit it, adding information that defined the tray choice for the different pages. On the PS file that I created, I noticed a line at the beginning of each page that may be related to what I need:<< /MediaPosition 3 /TraySwitch false >> setpagedevice Is it possible? If so, how can I do it? Please help!
Postscript language reference 3rd edition states that Ctrl-D is not part of the postscript language but a communication control character.Adobe Technote #5009 states that Ctrl-C, Ctrl-T, or Ctrl-D are not part of the language specification but a communication protocol. They should be handled by lower I/O layer and should not appear in the job file. In reality, Ctrl-D do appear in the job file and printers (interpreters) can handle it properly. So what is the official Adobe spec in regarding to this "proper" behavior?Anyone can point to where to find this info?Thanks a lot
I have converted PDF to PS using PDF to vector utility from verypdf.com. The file is fine, but size is quite big and printer taking much time for loading and printing.Any idea that how could I reduce the size of this file . Font used is Zurich BT and is Must. or any other conversion tool that could make small files.Here is my file original PDF Filehttps://www.dropbox.com/s/3wjx4npcinua9s1/1.pdfand converted PS can be downloaded from herehttps://www.dropbox.com/s/dmnct398xua7ei1/1.PS
Currently I am using ghost SCript to convert my PS files to PDF that are over 100000 in numbers. It seems that GS takes considerabely more time to perform the output.is there any nice program that can do so. Speed is my Prime issueRegards
Hi everyone!I have to draw a polygon with every diagonal, and the problem is i have limited time to do that. So i would like to ask your help.Please check attached file:http://s27.postimg.org/4mrzze11v/polygon_with_all_diagonal.pngSomething like this. Thats all what i could work out:300 200 translate/S 28 defS S scale4 S div setlinewidth1 setlinecap1 setlinejoin/n 6 def/r 6 defnewpathr 0 moveto1 1 n 1 sub{ /i exch def 360 n div i mul cos r mul 360 n div i mul sin r mul lineto} forclosepathstrokeI have no idea how to draw the diagonals.Please help me!Best regards:Mihaly Varga
I need to convert my original Post script file (named as SMALL.PS) to another PS file. For this currently I converting it to PDF and than PDF again to PS. This procedure takes a long time and the PS file thus created is also 5-6 times larger than orginal.Possible solutions I am looking for:-(1) PS to PS:-Any tool that could properly convert PS to PS. I tried GS and Total PDF convertor TPF produced large size File and GS , quality was not good.(2) Than I converted PS to PDF and than PDF to PS using Verypdf PDF to Vector but output PS file is 6-7 times larger.Can anyone please suggest that what Data/Code Inside should I delete to trim down the size of my LARGE PS file. I think that there is enough redundant code inside the large size that could be deleted to make it smaller.Alternatively can anyone please suggest any tool which make PDF to PS small file with speed maintaing the quality of Image too.Here is my original PDF filehttps://www.dropbox.com/s/1q8aa8s46zv1ssf/Small.pdfhttps://www
I am having a PS file which has program inside in Plain English and readable when opened in Notepad. (Say Type-1)Please See here the sample..https://www.dropbox.com/s/wsj30eldknu4w3d/1021414417.psPlease See The contents inside using notepadFor Some reasons I need to convert it into a Post script file which is not ordinarily readable when opened in Notepad. Please See this..(Say Type-2)https://www.dropbox.com/s/mda8yo7pwwyaek5/Altered.psPlease See The contents inside using notepad Kinldy Guide How could I change Type-1 to Type-2 PS, in Batch/bulk. Any Tool for this ?Kinldy Guide How could I change such files in Batch/bulk. Also there should not be much size increase in new file.Please also tell that whether such new files will support Page Switching/swaping in Printer. Since in case of two-three page file, 1st page will be from 1 tray and 2/3/4 from another.Kinldy Guide
Hi: I am editing a postscript file. I add some data to the .ps file so when the file is converted to a PDF file, some of the PDF's Document Properties are entered, and other variables are set. I can get the PDF Document Property "Author" in my resulting PDF file by adding this line to the .ps file - %%For: JohnB When this line is added, and I convert the .ps file, the resulting PDF file has "JohnB" in its "Author" field. Now, I would like to edit my .ps file to have the PDF Document Properties "Subject" and "Keywords" added into the PDF file. I tried simply adding to the .ps file - %%Subject: BirdsBut this does not work. So what do I need to enter into the .ps file to give me the Document Properties "Subject" and "Keywords" in my PDF file? Thanks, Kevin
I've just started to learn PS.I am trying to draw a light mask for a tachometer (a device that measures rotation speed). Size is whatever fits on a Letter size trasparent foil. It should look kind of like this, but with far more segments (ideally around 2000):So I've tried to increase the number of segments, and then display the result in gv, but the segments look jagged:What can I do to draw and display those segments smooth? The PS file is listed at the end.r2 is the outer radius of the diagram.len is the length of a segmentu is the scale factor.count is the number of segments.Basically, I blow everything up a lot, hoping to get rid of aliasing artifacts. But that doesn't help.%!PS/r2 2500000 def/len r2 10 div def/u 0.0001 def/count 1000 def/ainc 360 count div def/w 1 u div def300 400 translate/r1 r2 len sub defu u scale0.5 u div setlinewidth0 ainc 360 { /angle exch def /sine angle sin def
Hi,I'm student of SPbSU. I have the work "Compiling PostScript's programs into Java byte-code" in this year. Can anyone explain, how does save/restore work with composite objects? How does "save" do the snapshot, when many composite objects share the same value. Does it change references? How does PostScript restore their references afterwards ? It is necessary to understand because it's not clear how to realize these operators in Java.Thanks,Artur.
This may not be the place to ask this, but I've had no luck in the Acrobat forum.When using Distiller, normally a PDF will be generated at the dimensions set in the joboptions file under default page size.My understanding is that if you go to the advanced section in the joboptions file and turn on Process DCS Comments, then check Resize Page and Center Artwork for EPS files, the PDF that is generated should be at the size of the original documents and not the default page size set in the joboptions file.Unfortunately, this is not what I'm seeing. Every PDF generated is set to the default page size.Is there a way to control this via the epilogue or prologue files?Thanks.
I am wanting to acomplish the package below and not about to complete the PCL script for the staple comand.Page 1-4 staplePage 5-8 no staplePage 9-14 staple Page 15 no staple
Hi,I have something I want to print which is a little off the beaten path,so to speak. I know next to nothing about printing so I need help. Iam doing this for educational purposes to TRY to get across the conceptof large numbers to elementary school kids.I want to put exactly one million VISIBLE, distinct dots on one 8.5 x 11sheet of paper, plus be able to put some comments on the sides, top, orbottom, and perhaps highlight a few of the dots with color around theminstead of white. I realize that the dots will be quite small. Itwould also be nice if the page could be reproduced on a copier tho thatis not a requirement.I have the following equipment and software: I run 32-bit Linux. I havea variety of programs which go with my Linux (latest Slackware) such asEMACS for (maybe?) creating repetitive printer commands and GIMP forcreating and editing images. My printer is an OKI C5300 color laserprinter which, as I understand it, can print emulating Postsc
Hi. Is there any method or tool by which PS files can be obfusciated. Please GuideRegards
Hi,I want to add comment like Sticky note, highlight text, insert text at cursor, replace, .. in PDF postscript coding with the help of Annotations,So I was referred document, Adobe Portable Document Format (Version 1.4)Under SECTION 8.4Example 8.622 0 obj<< /Type /Annot/Subtype /Text/Rect [266 116 430 204]/Contents (The quick brown fox ate the lazy mouse.)>> endobjI am used above postscript code to add text annotation in my PDF file, but I am get fail with following error.%%[ Error: undefined; OffendingCommand: obj ]%%Stack:022-dict- %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%%%[ Warning: PostScript error. No PDF file produced. ] %%Note:I am using Distiller 5 and also I was tried in Distiller 7, Distiller X.So please give suggestion and sample code to add annotations in postscript,And also please clearly tell me where I wan to add my annotation code if I want to add more the one annotations in one page over the 50 pages PDF file.Thanks & RegardsThiru
How can I convert PNG images so they have a colorspace of /DeviceGray not /DeviceRGB? I have tried in both fireworks and photoshop but neither appear to give a true /DeviceGray setcolorspace instead they give a /DeviceRGB setcolorspaceThis are read by our XEROX color printer as a color document and costs 10 times the amount to the business.
I am writing some Text in PS file. Since the length of Text is Long it overlaps the other text beside it.Is it possible to Wrap the Text in PS. Say for example How this text will be wrapped/F100{/I 7.2 d I/Arial F}b F100 (Plan BB-HOME-COMBO-ULD-800-MONTHLY BI MONTHLY-1500 SIX ANNUAL PLAN-8000) 500 10 w RegardsHarsh
I think this must be pretty basic stuff, but an area of confusion for me…On a W7 system I have many fonts. Some are .ttf, some .ttc, some .otf. I need to generate a PS file with text in it. Let's say that onscreen I create a text area and I choose Arial. Using various system calls and parsing font files, etc. I can find the Postscript name, ArialMT. So, I write my PS file as follows (greatly simplified):/ArialMT findfont 24 scalefontsetfont newpath0 640 moveto(ABCDEFGHIJKLMNOPQRSTUVWXYZ) show%%EOFHowever, if I choose Taz font onscreen and find the Postscript name Taz, when I write this file the output is rendered using Courier (default) font./Taz findfont 24 scalefontsetfont newpath0 640 moveto(ABCDEFGHIJKLMNOPQRSTUVWXYZ) show%%EOFMy question: how can I tell (from font file info or something) that Arial will work, but Ta
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
이미 계정이 있으신가요? 로그인
sso.login.detail.descriptionWithRegistrationLink
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
죄송합니다, 다운로드하려는 파일의 안전성을 확인하고 있습니다. 몇 분 뒤에 다시 시도해 주세요.
죄송합니다, 바이러스 스캐너가 이 파일이 안전하지 않다고 감지했습니다.